diff options
author | 2005-10-17 13:00:07 +0000 | |
---|---|---|
committer | 2005-10-17 13:00:07 +0000 | |
commit | a85ad51cb9ef173a4ac777ff14e846f14cea7399 (patch) | |
tree | ea85b0d3adcea5a22c143b7b72e036bc0371989f /www-apps/websvn/websvn-1.61-r3.ebuild | |
parent | Mark 0.40.3-r2 stable on ia64 (diff) | |
download | historical-a85ad51cb9ef173a4ac777ff14e846f14cea7399.tar.gz historical-a85ad51cb9ef173a4ac777ff14e846f14cea7399.tar.bz2 historical-a85ad51cb9ef173a4ac777ff14e846f14cea7399.zip |
Fixed an issue with German characters - thanks to Lars Teifland for an almost
working patch, #65351
Fixed the error svn: Cant check path /root/.subversion: Permission denied (websvn issue 32)
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'www-apps/websvn/websvn-1.61-r3.ebuild')
-rw-r--r-- | www-apps/websvn/websvn-1.61-r3.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/www-apps/websvn/websvn-1.61-r3.ebuild b/www-apps/websvn/websvn-1.61-r3.ebuild new file mode 100644 index 000000000000..f2725f80dbd9 --- /dev/null +++ b/www-apps/websvn/websvn-1.61-r3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-1.61-r3.ebuild,v 1.1 2005/10/17 13:00:07 uberlord Exp $ + +inherit eutils webapp + +MY_PV="161" +DESCRIPTION="Web-based browsing tool for Subversion (SVN) repositories in PHP" +HOMEPAGE="http://websvn.tigris.org/" +SRC_URI="http://websvn.tigris.org/files/documents/1380/14334/WebSVN_${MY_PV}.tar.gz" +LICENSE="GPL-2" +IUSE="enscript" +KEYWORDS="~x86 ~amd64 ~sparc" + +RDEPEND="virtual/php + sys-apps/sed + enscript? ( >=app-text/enscript-1.6.0 )" +DEPEND="sys-apps/findutils" + +S="${WORKDIR}/WebSVN" + +src_unpack() { + unpack "${A}" + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PV}-r1.patch" + epatch "${FILESDIR}/${PN}-${PV}-r2.patch" + + epatch "${FILESDIR}/${PN}-${PV}-issue32.patch" + epatch "${FILESDIR}/${PN}-${PV}-german.patch" +} + +src_compile() { + mv "${S}/include/distconfig.inc" "${S}/include/config.inc" +} + +src_install() { + webapp_src_preinst + + local doc docs="changes.txt install.txt templates.txt" + + dodoc ${docs} + for doc in ${docs}; do + rm -f "${doc}" + done + + # Remove .cvs* files and CVS directories + find -name .cvs\* -or \( -type d -name CVS -prune \) | xargs rm -rf + + insinto "${MY_HTDOCSDIR}" + doins -r * + webapp_configfile "${MY_HTDOCSDIR}/include/config.inc" + + # This is the multiview config file + webapp_configfile "${MY_HTDOCSDIR}/wsvn.php" + + # The cache directory needs to be writeable + webapp_serverowned "${MY_HTDOCSDIR}/cache" + + webapp_src_install +} |