88fc4de54c
(Portage version: 2.1.10.3/svn/Linux x86_64, RepoMan options: --force) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2928 6952d904-891a-0410-993b-d76249ca496b
49 lines
870 B
Bash
49 lines
870 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
inherit depend.php eutils webapp
|
|
|
|
DESCRIPTION="Web-based GUI to your Subversion authorization file."
|
|
HOMEPAGE="http://www.insanefactory.com/if-svnadmin/"
|
|
SRC_URI="mirror://sourceforge/ifsvnadmin/${P}.zip"
|
|
|
|
LICENSE="GPL-2"
|
|
IUSE=""
|
|
KEYWORDS="amd64 arm ppc ppc64 ~sparc x86"
|
|
|
|
DEPEND=""
|
|
RDEPEND="dev-vcs/subversion"
|
|
RESTRICT=""
|
|
|
|
need_httpd_cgi
|
|
need_php_httpd
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
pkg_setup() {
|
|
webapp_pkg_setup
|
|
has_php
|
|
require_php_with_use xml
|
|
}
|
|
|
|
src_prepare() {
|
|
edos2unix $(find . -type 'f') || die "edos2unix failed"
|
|
}
|
|
|
|
src_install() {
|
|
webapp_src_preinst
|
|
|
|
dodoc *.txt || die "dodoc failed"
|
|
rm -rf *.txt
|
|
|
|
insinto "${MY_HTDOCSDIR}"
|
|
doins -r . || die "doins failed"
|
|
|
|
webapp_serverowned "${MY_HTDOCSDIR}"/data
|
|
|
|
webapp_src_install
|
|
}
|