summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-02-22 16:44:22 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-02-22 16:44:22 +0000
commitd947f63bfe2b5f3b29c5f2b44f475b9c133f81fb (patch)
tree90f1720614fcaf9c1812a8b4888912680acde3fb /www-apps/dotproject
parentAdd ktorrent-3.0.0 local USE flags for plugin selection. (diff)
downloadgentoo-2-d947f63bfe2b5f3b29c5f2b44f475b9c133f81fb.tar.gz
gentoo-2-d947f63bfe2b5f3b29c5f2b44f475b9c133f81fb.tar.bz2
gentoo-2-d947f63bfe2b5f3b29c5f2b44f475b9c133f81fb.zip
ebuild cleanup wrt #208584
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apps/dotproject')
-rw-r--r--www-apps/dotproject/ChangeLog7
-rw-r--r--www-apps/dotproject/dotproject-2.1.1.ebuild26
2 files changed, 21 insertions, 12 deletions
diff --git a/www-apps/dotproject/ChangeLog b/www-apps/dotproject/ChangeLog
index 2678315cb2fe..c0adfec6c26f 100644
--- a/www-apps/dotproject/ChangeLog
+++ b/www-apps/dotproject/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-apps/dotproject
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dotproject/ChangeLog,v 1.4 2007/12/05 09:16:37 wrobel Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dotproject/ChangeLog,v 1.5 2008/02/22 16:44:22 hollow Exp $
+
+ 22 Feb 2008; Benedikt Böhm <hollow@gentoo.org> dotproject-2.1.1.ebuild:
+ ebuild cleanup wrt #208584
*dotproject-2.1.1 (05 Dec 2007)
diff --git a/www-apps/dotproject/dotproject-2.1.1.ebuild b/www-apps/dotproject/dotproject-2.1.1.ebuild
index ace06ad7b9bc..d9ded573fc8f 100644
--- a/www-apps/dotproject/dotproject-2.1.1.ebuild
+++ b/www-apps/dotproject/dotproject-2.1.1.ebuild
@@ -1,32 +1,38 @@
-# 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/dotproject/dotproject-2.1.1.ebuild,v 1.1 2007/12/05 09:16:37 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dotproject/dotproject-2.1.1.ebuild,v 1.2 2008/02/22 16:44:22 hollow Exp $
inherit webapp depend.php
DESCRIPTION="dotProject is a PHP web-based project management framework"
HOMEPAGE="http://www.dotproject.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-S=${WORKDIR}/${PN}
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="GPL-2"
+IUSE=""
-need_php
-
+DEPEND=""
RDEPEND="app-text/poppler"
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}"/${PN}
+
src_install () {
webapp_src_preinst
dodoc ChangeLog README
+ rm -f ChangeLog README
+
+ mv includes/config{-dist,}.php
- mv includes/config-dist.php includes/config.php
- cp -R * "${D}${MY_HTDOCSDIR}"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php
- webapp_serverowned "${MY_HTDOCSDIR}"/files
- webapp_serverowned "${MY_HTDOCSDIR}"/files/temp
+ webapp_serverowned "${MY_HTDOCSDIR}"/files{,/temp}
webapp_serverowned "${MY_HTDOCSDIR}"/locales/en
webapp_postinst_txt en "${FILESDIR}"/install-en.txt