summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-02-19 11:45:24 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-02-19 11:45:24 +0000
commit9524482bbd4591bbe89dbf1f50a402b3a0037468 (patch)
tree2b15b7a0d13c661787af3f2c6f4215f7e56b8a37 /www-apps
parentAdd a new revision that uses the new system-login provided by pambase. (diff)
downloadgentoo-2-9524482bbd4591bbe89dbf1f50a402b3a0037468.tar.gz
gentoo-2-9524482bbd4591bbe89dbf1f50a402b3a0037468.tar.bz2
gentoo-2-9524482bbd4591bbe89dbf1f50a402b3a0037468.zip
ebuild cleanup wrt #208584
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/coppermine/ChangeLog5
-rw-r--r--www-apps/coppermine/coppermine-1.4.16.ebuild40
2 files changed, 18 insertions, 27 deletions
diff --git a/www-apps/coppermine/ChangeLog b/www-apps/coppermine/ChangeLog
index b111fc4f624c..8a6d685068e8 100644
--- a/www-apps/coppermine/ChangeLog
+++ b/www-apps/coppermine/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-apps/coppermine
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/ChangeLog,v 1.22 2008/02/15 10:18:40 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/ChangeLog,v 1.23 2008/02/19 11:45:24 hollow Exp $
+
+ 19 Feb 2008; Benedikt Böhm <hollow@gentoo.org> coppermine-1.4.16.ebuild:
+ ebuild cleanup wrt #208584
*coppermine-1.4.16 (15 Feb 2008)
diff --git a/www-apps/coppermine/coppermine-1.4.16.ebuild b/www-apps/coppermine/coppermine-1.4.16.ebuild
index 1022595e0838..df64fde03a57 100644
--- a/www-apps/coppermine/coppermine-1.4.16.ebuild
+++ b/www-apps/coppermine/coppermine-1.4.16.ebuild
@@ -1,55 +1,43 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.4.16.ebuild,v 1.1 2008/02/15 10:18:40 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.4.16.ebuild,v 1.2 2008/02/19 11:45:24 hollow Exp $
inherit webapp versionator depend.php
-DESCRIPTION="Feature rich web picture gallery script written in PHP using GD or ImageMagick lib with a MySQL backend."
+DESCRIPTION="Web picture gallery written in PHP with a MySQL backend"
HOMEPAGE="http://coppermine.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/cpg${PV}.zip"
LICENSE="GPL-2"
-KEYWORDS="~sparc ~x86 ~amd64"
+KEYWORDS="~amd64 ~sparc ~x86"
IUSE="imagemagick"
DEPEND="app-arch/unzip"
+RDEPEND="imagemagick? ( media-gfx/imagemagick )"
-RDEPEND="virtual/httpd-cgi
- imagemagick? ( media-gfx/imagemagick )"
+S="${WORKDIR}"/cpg$(delete_all_version_separators)
-S=${WORKDIR}/cpg$(delete_all_version_separators)
-
-need_php
+need_php_httpd
pkg_setup() {
webapp_pkg_setup
- if ! PHPCHECKNODIE="yes" require_php_with_use mysql ; then
- eerror
- eerror "${PHP_PKG} needs to be re-installed with mysql USE-flag"
- eerror
- die "Re-install ${PHP_PKG}"
- fi
+ require_php_with_use mysql
}
src_install() {
webapp_src_preinst
- local docs="CHANGELOG COPYING"
- dodoc ${docs}
+ dodoc CHANGELOG README.txt
+ dohtml docs/*
+ rm -rf CHANGELOG README.txt COPYING docs/
- einfo "Installing main files"
- cp -r * "${D}${MY_HTDOCSDIR}"
- einfo "Done"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
- # owned files
- dodir "${MY_HTDOCSDIR}"/albums
- webapp_serverowned "${MY_HTDOCSDIR}"/albums
- webapp_serverowned "${MY_HTDOCSDIR}"/albums/userpics
- webapp_serverowned "${MY_HTDOCSDIR}"/albums/edit
+ dodir "${MY_HTDOCSDIR}"/albums/{userpics,edit}
+ webapp_serverowned "${MY_HTDOCSDIR}"/albums{,/userpics,/edit}
webapp_serverowned "${MY_HTDOCSDIR}"/include
- dohtml docs/*
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
-
webapp_src_install
}