summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/phppgadmin/phppgadmin-4.1.3.ebuild')
-rw-r--r--dev-db/phppgadmin/phppgadmin-4.1.3.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-db/phppgadmin/phppgadmin-4.1.3.ebuild b/dev-db/phppgadmin/phppgadmin-4.1.3.ebuild
new file mode 100644
index 000000000000..25d8cd5b4c24
--- /dev/null
+++ b/dev-db/phppgadmin/phppgadmin-4.1.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/phppgadmin-4.1.3.ebuild,v 1.1 2007/09/25 20:45:24 dev-zero Exp $
+
+inherit webapp depend.php
+
+IUSE=""
+
+MY_P=phpPgAdmin-${PV}
+
+DESCRIPTION="Web-based administration for Postgres database in php"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+HOMEPAGE="http://phppgadmin.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+
+need_php
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ webapp_pkg_setup
+ require_php_with_use pcre postgres session
+}
+
+src_install() {
+ webapp_src_preinst
+
+ local doc
+ local docs="CREDITS DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS"
+ dodoc ${docs}
+ mv conf/config.inc.php-dist conf/config.inc.php
+
+ cp -r * ${D}${MY_HTDOCSDIR}
+ for doc in ${docs} INSTALL LICENSE; do
+ rm -f ${D}${MY_HTDOCSDIR}/${doc}
+ done
+
+ webapp_configfile ${MY_HTDOCSDIR}/conf/config.inc.php
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_src_install
+}