diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-02-19 16:54:58 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-02-19 16:54:58 +0000 |
commit | 5c6e8eee32fdc060af1177f111d3d4e341a7e90a (patch) | |
tree | 619925f23679eeaa2b6bb586e877416ead47a19a /www-apps | |
parent | alpha/ia64 stable wrt security #209106 (diff) | |
download | gentoo-2-5c6e8eee32fdc060af1177f111d3d4e341a7e90a.tar.gz gentoo-2-5c6e8eee32fdc060af1177f111d3d4e341a7e90a.tar.bz2 gentoo-2-5c6e8eee32fdc060af1177f111d3d4e341a7e90a.zip |
ebuild cleanup wrt #208584
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/websvn/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/websvn/metadata.xml | 6 | ||||
-rw-r--r-- | www-apps/websvn/websvn-2.0.ebuild | 40 |
3 files changed, 25 insertions, 29 deletions
diff --git a/www-apps/websvn/ChangeLog b/www-apps/websvn/ChangeLog index d4cae228949b..5f82e93b93e0 100644 --- a/www-apps/websvn/ChangeLog +++ b/www-apps/websvn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/websvn -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v 1.21 2007/12/26 21:44:02 phreak Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v 1.22 2008/02/19 16:54:58 hollow Exp $ + + 19 Feb 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml, + websvn-2.0.ebuild: + ebuild cleanup wrt #208584 26 Dec 2007; Christian Heim <phreak@gentoo.org> websvn-2.0.ebuild: Adjusting RESTRICT=nomirror to be RESTRICT=mirror. diff --git a/www-apps/websvn/metadata.xml b/www-apps/websvn/metadata.xml index 9d5ef92dd8a2..e6d124be11a6 100644 --- a/www-apps/websvn/metadata.xml +++ b/www-apps/websvn/metadata.xml @@ -1,6 +1,8 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>web-apps</herd> - <longdescription>Web based Subversion repository browser written in PHP</longdescription> + <herd>web-apps</herd> + <longdescription> + Web based Subversion repository browser written in PHP + </longdescription> </pkgmetadata> diff --git a/www-apps/websvn/websvn-2.0.ebuild b/www-apps/websvn/websvn-2.0.ebuild index 8d4f6712cfef..e1d07a471ea3 100644 --- a/www-apps/websvn/websvn-2.0.ebuild +++ b/www-apps/websvn/websvn-2.0.ebuild @@ -1,62 +1,52 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.0.ebuild,v 1.4 2007/12/26 21:44:02 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.0.ebuild,v 1.5 2008/02/19 16:54:58 hollow Exp $ inherit depend.php eutils webapp MY_PV="${PV//_/}" + 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/39378/websvn-${MY_PV}.tar.gz" + RESTRICT="mirror" LICENSE="GPL-2" IUSE="enscript" KEYWORDS="amd64 ~sparc x86" -RDEPEND="virtual/php - dev-util/subversion - sys-apps/sed +RDEPEND="dev-util/subversion enscript? ( app-text/enscript )" +need_php_httpd + S="${WORKDIR}/websvn-${MY_PV}" pkg_setup() { webapp_pkg_setup - - if ! has_version "=dev-lang/php-5*" ; then + has_php + if [[ ${PHP_VERSION} == "4" ]] ; then require_php_with_use expat else require_php_with_use xml fi } -src_unpack() { - unpack ${A} - cd "${S}" -} - -src_compile() { - mv "${S}"/include/distconfig.php "${S}"/include/config.php -} - src_install() { webapp_src_preinst - local doc docs="licence.txt changes.txt doc/*" + mv include/{dist,}config.php - dodoc ${docs} - for doc in ${docs}; do - rm -f "${doc}" - done + dodoc changes.txt doc/templates.txt + dohtml doc/* + rm -rf license.txt changes.txt doc/ insinto "${MY_HTDOCSDIR}" - doins -r * - webapp_configfile "${MY_HTDOCSDIR}"/include/config.php + doins -r . - # This is the multiview config file + webapp_configfile "${MY_HTDOCSDIR}"/include/config.php webapp_configfile "${MY_HTDOCSDIR}"/wsvn.php - # The cache directory needs to be writeable webapp_serverowned "${MY_HTDOCSDIR}"/cache webapp_src_install |