source: www-apps/svnmanager/svnmanager-1.08.ebuild @ 8f818cb

Revision 8f818cb, 1.4 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

add svnmanager

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1720 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
Line 
1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.3.0.ebuild,v 1.1 2009/12/13 23:16:53 arfrever Exp $
4
5EAPI="2"
6
7inherit depend.php eutils webapp
8
9DESCRIPTION="PHP web based tool to administer a Apache Subversion repository server."
10HOMEPAGE="http://svnmanager.org/"
11SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13LICENSE="GPL-2"
14IUSE=""
15KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
16
17DEPEND=""
18RDEPEND="dev-util/subversion"
19
20need_httpd_cgi
21need_php_httpd
22
23pkg_setup() {
24        webapp_pkg_setup
25        has_php
26        require_php_with_use xml sqlite
27}
28
29src_prepare() {
30        edos2unix $(find css -type 'f') || die "edos2unix failed in css"
31        edos2unix $(find js -type 'f') || die "edos2unix failed in js"
32        edos2unix $(find prado-2.0.3 -type 'f') || die "edos2unix failed in prado-2.0.3"
33        edos2unix $(find svnmanager -type 'f') || die "edos2unix failed in svnmanager"
34        edos2unix C* H* I* R* prado.* config.* || die "edos2unix failed"
35        touch svnmanager/svnmanager.db
36}
37
38src_install() {
39        webapp_src_preinst
40
41        mv config.php.linux config.php
42        rm config.php.win
43
44        dodoc C* H* I* R* prado.* docs/* || die "dodoc failed"
45        rm -rf C* H* I* R* prado.* docs/
46
47        insinto "${MY_HTDOCSDIR}"
48        doins -r . || die "doins failed"
49
50        webapp_configfile "${MY_HTDOCSDIR}"/config.php
51
52        webapp_serverowned "${MY_HTDOCSDIR}"/svnmanager/svnmanager.db
53
54        webapp_src_install
55}
Note: See TracBrowser for help on using the repository browser.