summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/dotproject/dotproject-2.1.7.ebuild')
-rw-r--r--www-apps/dotproject/dotproject-2.1.7.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/www-apps/dotproject/dotproject-2.1.7.ebuild b/www-apps/dotproject/dotproject-2.1.7.ebuild
new file mode 100644
index 000000000000..e10abe154ef1
--- /dev/null
+++ b/www-apps/dotproject/dotproject-2.1.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dotproject/dotproject-2.1.7.ebuild,v 1.1 2013/01/02 22:00:52 elvanor Exp $
+
+EAPI=2
+inherit eutils 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"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-text/poppler[utils]"
+
+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
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/files{,/temp}
+ webapp_serverowned "${MY_HTDOCSDIR}"/locales/en
+
+ webapp_postinst_txt en "${FILESDIR}"/install-en.txt
+ webapp_src_install
+}