From 836ff4ff3046737efcd4b1fbcf30414f5fd8b4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kdeniz=20Karada=C4=9F=20=28hayalci=29?= Date: Sun, 30 Nov 2008 21:31:51 +0000 Subject: www-apps/phpMyProxy: New ebuild for phpMyAdmin. Thanks to dleverton, zlin, pva, scarabeus, Tommy[D], omp for review and general help about sunrise. Bug #249411 svn path=/sunrise/; revision=7423 --- www-apps/phpMyProxy/phpMyProxy-1.0.3.ebuild | 49 +++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 www-apps/phpMyProxy/phpMyProxy-1.0.3.ebuild (limited to 'www-apps/phpMyProxy/phpMyProxy-1.0.3.ebuild') diff --git a/www-apps/phpMyProxy/phpMyProxy-1.0.3.ebuild b/www-apps/phpMyProxy/phpMyProxy-1.0.3.ebuild new file mode 100644 index 000000000..0c73ffcab --- /dev/null +++ b/www-apps/phpMyProxy/phpMyProxy-1.0.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="phpMyProxy is a web-based proxy script in PHP" +HOMEPAGE="http://www.phpmyproxy.com/" +# Upstream hosts source files as an attachment in a _password protected forum_ +SRC_URI="http://omploader.org/vejZx/${P/-/_}.zip" + +LICENSE="GPL-3" +KEYWORDS="~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR}/${P/-/_} + +need_php_httpd +need_httpd_cgi + +pkg_setup() { + webapp_pkg_setup + require_php_with_use curl +} + +src_install() { + webapp_src_preinst + + dodoc README.txt TODO.txt CHANGELOG.txt || die "Cannot copy documentation" + rm -f README.txt TODO.txt CHANGELOG.txt UPGRADE.txt \ + || die "Cannot delete copied documentattion" + + insinto "${MY_HTDOCSDIR}" + doins -r . || die "Cannot copy program files" + keepdir "${MY_HTDOCSDIR}"/cookies || die "Cannot create cookies directory" + + webapp_serverowned "${MY_HTDOCSDIR}"/cookies + webapp_serverowned "${MY_HTDOCSDIR}"/curl_log.txt + + webapp_configfile "${MY_HTDOCSDIR}"/proxy.config.php + + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + #webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt + + webapp_src_install +} -- cgit v1.2.3