summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-07-21 14:14:29 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-07-21 14:14:29 +0000
commitcec1afffd4cd09b789615a5ae3c2a97c2ecd8c09 (patch)
tree82f88897304e41613e795dfcc05eedc906ee19ed /www-apps/websvn
parentRESTRICT="test" wrt #277161. (diff)
downloadgentoo-2-cec1afffd4cd09b789615a5ae3c2a97c2ecd8c09.tar.gz
gentoo-2-cec1afffd4cd09b789615a5ae3c2a97c2ecd8c09.tar.bz2
gentoo-2-cec1afffd4cd09b789615a5ae3c2a97c2ecd8c09.zip
Version bump. Per bug #272958.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'www-apps/websvn')
-rw-r--r--www-apps/websvn/ChangeLog7
-rw-r--r--www-apps/websvn/websvn-2.2.1.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/www-apps/websvn/ChangeLog b/www-apps/websvn/ChangeLog
index c8985b047a4a..744c824925c1 100644
--- a/www-apps/websvn/ChangeLog
+++ b/www-apps/websvn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/websvn
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v 1.28 2009/05/25 18:58:35 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v 1.29 2009/07/21 14:14:29 scarabeus Exp $
+
+*websvn-2.2.1 (21 Jul 2009)
+
+ 21 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +websvn-2.2.1.ebuild:
+ Version bump. Per bug #272958.
25 May 2009; Brent Baude <ranger@gentoo.org> websvn-2.1.0.ebuild:
Marking websvn-2.1.0 ppc64 and ppc for bug 270545
diff --git a/www-apps/websvn/websvn-2.2.1.ebuild b/www-apps/websvn/websvn-2.2.1.ebuild
new file mode 100644
index 000000000000..fd7e5d3a13cd
--- /dev/null
+++ b/www-apps/websvn/websvn-2.2.1.ebuild
@@ -0,0 +1,51 @@
+# 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.2.1.ebuild,v 1.1 2009/07/21 14:14:29 scarabeus Exp $
+
+inherit depend.php eutils webapp
+
+MY_PV="${PV//_/}"
+MY_P="${P//_/}"
+
+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/45918/${MY_P}.tar.gz"
+
+RESTRICT="mirror"
+LICENSE="GPL-2"
+IUSE="enscript"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="dev-util/subversion
+ enscript? ( app-text/enscript )"
+
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}"/${MY_P}
+
+pkg_setup() {
+ webapp_pkg_setup
+ has_php
+ require_php_with_use xml
+}
+
+src_install() {
+ webapp_src_preinst
+
+ mv include/{dist,}config.php
+
+ dodoc changes.txt || die "dodoc failed"
+ dohtml doc/* || die "dohtml failed"
+ rm -rf license.txt changes.txt doc/
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r . || die "doins failed"
+
+ webapp_configfile "${MY_HTDOCSDIR}"/include/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/wsvn.php
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/cache
+
+ webapp_src_install
+}