summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2007-06-02 05:33:52 +0000
committerRenat Lumpau <rl03@gentoo.org>2007-06-02 05:33:52 +0000
commit788dc8345e9f0208071980a0940222c75ab6abcf (patch)
treeb16ca04ae759fc5f1e0dbcb3f3904369c6c2aa2b /www-apps/phpwebsite/phpwebsite-1.2.0.ebuild
parentVersion bump (diff)
downloadgentoo-2-788dc8345e9f0208071980a0940222c75ab6abcf.tar.gz
gentoo-2-788dc8345e9f0208071980a0940222c75ab6abcf.tar.bz2
gentoo-2-788dc8345e9f0208071980a0940222c75ab6abcf.zip
Version bump
(Portage version: 2.1.2.8)
Diffstat (limited to 'www-apps/phpwebsite/phpwebsite-1.2.0.ebuild')
-rw-r--r--www-apps/phpwebsite/phpwebsite-1.2.0.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/www-apps/phpwebsite/phpwebsite-1.2.0.ebuild b/www-apps/phpwebsite/phpwebsite-1.2.0.ebuild
new file mode 100644
index 000000000000..904f180bc877
--- /dev/null
+++ b/www-apps/phpwebsite/phpwebsite-1.2.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpwebsite/phpwebsite-1.2.0.ebuild,v 1.1 2007/06/02 05:33:52 rl03 Exp $
+
+inherit webapp depend.php
+
+MY_PV=${PV//./_}
+DESCRIPTION="phpWebSite Content Management System"
+HOMEPAGE="http://phpwebsite.appstate.edu"
+SRC_URI="http://phpwebsite.appstate.edu/downloads/stable/full/1.x.x/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~ppc ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}"/${PN}_${MY_PV}
+
+need_php
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README docs/*
+
+ cp -r * "${D}/${MY_HTDOCSDIR}"
+
+ # Files that need to be owned by webserver
+ webapp_serverowned ${MY_HTDOCSDIR}/config
+ webapp_serverowned ${MY_HTDOCSDIR}/config/core
+ webapp_serverowned ${MY_HTDOCSDIR}/files
+ webapp_serverowned ${MY_HTDOCSDIR}/images
+ webapp_serverowned ${MY_HTDOCSDIR}/images/mod
+ webapp_serverowned ${MY_HTDOCSDIR}/mod
+ webapp_serverowned ${MY_HTDOCSDIR}/logs
+ webapp_serverowned ${MY_HTDOCSDIR}/templates
+ webapp_serverowned ${MY_HTDOCSDIR}/javascript/modules
+
+# webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}