summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Mueller <dev-zero@gentoo.org>2010-01-17 20:04:07 +0100
committerTiziano Mueller <dev-zero@gentoo.org>2010-01-17 20:04:07 +0100
commite1667c59ea71211c57bca52c0c9cb497d370564c (patch)
tree063f24c6308e385d2d7afeb5e34ef2dd1155e676 /www-apps/textpattern/textpattern-4.2.0.ebuild
parentFixed .la/.a removal. (diff)
downloaddev-zero-e1667c59ea71211c57bca52c0c9cb497d370564c.tar.gz
dev-zero-e1667c59ea71211c57bca52c0c9cb497d370564c.tar.bz2
dev-zero-e1667c59ea71211c57bca52c0c9cb497d370564c.zip
Version bump.
Diffstat (limited to 'www-apps/textpattern/textpattern-4.2.0.ebuild')
-rw-r--r--www-apps/textpattern/textpattern-4.2.0.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/www-apps/textpattern/textpattern-4.2.0.ebuild b/www-apps/textpattern/textpattern-4.2.0.ebuild
new file mode 100644
index 0000000..f6ba9f0
--- /dev/null
+++ b/www-apps/textpattern/textpattern-4.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit webapp depend.php
+
+DESCRIPTION="A flexible, elegant and easy-to-use content management system. "
+HOMEPAGE="http://textpattern.com/"
+SRC_URI="http://textpattern.com/file_download/56/ -> ${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="virtual/httpd-php"
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ require_php_with_any_use mysql mysqli
+ require_php_with_use gd
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc *.txt
+ rm *.txt textpattern/*.txt
+
+ cp -r . "${D}${MY_HTDOCSDIR}"
+
+ keepdir "${MY_HTDOCSDIR}/images/"
+ keepdir "${MY_HTDOCSDIR}/files/"
+ keepdir "${MY_HTDOCSDIR}/textpattern/tmp/"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+
+ local serverowned="textpattern/tmp files images"
+ for f in ${serverowned}; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${f}"
+ done
+
+ webapp_src_install
+}