add svnmanager
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1720 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
05ad5cc496
commit
8f818cb68a
2
www-apps/svnmanager/Manifest
Normal file
2
www-apps/svnmanager/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST svnmanager-1.08.tar.gz 9894347 RMD160 22ce32ee9a063ca7dc206d15d78e9c58ab521d74 SHA1 42ff4be5e9eb56cdc2ef1189f99dd30820a05ab5 SHA256 c02012c6c29ebbb8467c9e1a682bd83f0ebc5e87ead0d679aa55c2bf1a0373a9
|
||||
EBUILD svnmanager-1.08.ebuild 1436 RMD160 6d906e905b54e0cfd885be2750d200b5c0a276ba SHA1 2920c3e757fa2c2af367988fa170d3bd3380a0fc SHA256 6c9cd802eeced3e06a6df7c6f94ceb567e2494bb5e7e81a9f16e7028df28c1c3
|
55
www-apps/svnmanager/svnmanager-1.08.ebuild
Normal file
55
www-apps/svnmanager/svnmanager-1.08.ebuild
Normal file
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.3.0.ebuild,v 1.1 2009/12/13 23:16:53 arfrever Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit depend.php eutils webapp
|
||||
|
||||
DESCRIPTION="PHP web based tool to administer a Apache Subversion repository server."
|
||||
HOMEPAGE="http://svnmanager.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-util/subversion"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
has_php
|
||||
require_php_with_use xml sqlite
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
edos2unix $(find css -type 'f') || die "edos2unix failed in css"
|
||||
edos2unix $(find js -type 'f') || die "edos2unix failed in js"
|
||||
edos2unix $(find prado-2.0.3 -type 'f') || die "edos2unix failed in prado-2.0.3"
|
||||
edos2unix $(find svnmanager -type 'f') || die "edos2unix failed in svnmanager"
|
||||
edos2unix C* H* I* R* prado.* config.* || die "edos2unix failed"
|
||||
touch svnmanager/svnmanager.db
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
mv config.php.linux config.php
|
||||
rm config.php.win
|
||||
|
||||
dodoc C* H* I* R* prado.* docs/* || die "dodoc failed"
|
||||
rm -rf C* H* I* R* prado.* docs/
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r . || die "doins failed"
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/svnmanager/svnmanager.db
|
||||
|
||||
webapp_src_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user