1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit webapp depend.php
9 DESCRIPTION="phpMyProxy is a web-based proxy script in PHP"
10 HOMEPAGE="http://www.phpmyproxy.com/"
11 # Upstream hosts source files as an attachment in a _password protected forum_
12 SRC_URI="http://omploader.org/vejZx/${P/-/_}.zip"
18 DEPEND="app-arch/unzip
30 dodoc README.txt TODO.txt CHANGELOG.txt || die "Cannot copy documentation"
31 rm -f README.txt TODO.txt CHANGELOG.txt UPGRADE.txt \
32 || die "Cannot delete copied documentattion"
34 insinto "${MY_HTDOCSDIR}"
35 doins -r . || die "Cannot copy program files"
36 keepdir "${MY_HTDOCSDIR}"/cookies || die "Cannot create cookies directory"
38 webapp_serverowned "${MY_HTDOCSDIR}"/cookies
39 webapp_serverowned "${MY_HTDOCSDIR}"/curl_log.txt
41 webapp_configfile "${MY_HTDOCSDIR}"/proxy.config.php
43 #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
44 #webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt