summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Mueller <dev-zero@gentoo.org>2009-06-10 18:43:09 +0200
committerTiziano Mueller <dev-zero@gentoo.org>2009-06-10 18:43:09 +0200
commit8da0447d81f129f8f9bf131a094a1fdddb98da8c (patch)
tree798ae1e1db67ae826f38189f6165a7584f1b8490 /www-apps
parentMoved changes to the tree (diff)
downloaddev-zero-8da0447d81f129f8f9bf131a094a1fdddb98da8c.tar.gz
dev-zero-8da0447d81f129f8f9bf131a094a1fdddb98da8c.tar.bz2
dev-zero-8da0447d81f129f8f9bf131a094a1fdddb98da8c.zip
Fixed typo in postinstall-en.txt. Using use-based-deps now insteaf of depend.php eclass functions. Added missing dirs to serverowned.
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/textpattern/Manifest4
-rw-r--r--www-apps/textpattern/files/postinstall-en.txt5
-rw-r--r--www-apps/textpattern/textpattern-4.0.8.ebuild27
3 files changed, 15 insertions, 21 deletions
diff --git a/www-apps/textpattern/Manifest b/www-apps/textpattern/Manifest
index c13a992..d4daf64 100644
--- a/www-apps/textpattern/Manifest
+++ b/www-apps/textpattern/Manifest
@@ -1,5 +1,5 @@
-AUX postinstall-en.txt 161 RMD160 3aa03c2eba58ba5dac24ae8751d8e8d15caa7889 SHA1 329dd2750c0ccd6b70f39e093e6b13e5b0f81cdc SHA256 438afe7e48f8066e284aeb3995018b1c2f31a384ff54f81476f3e140118c2ed7
+AUX postinstall-en.txt 146 RMD160 47d06b4c9689a04f2815a035eff00f488dabc38a SHA1 1f2f12bb5d2df0e0176d09c1290c88a6a63f0785 SHA256 f4ec0111014b9a6afa99256f2bf3db74a67dd57c42246a28a1ce5d7a9e6472b3
DIST textpattern-4.0.8.tar.gz 324334 RMD160 aa50222c43190e59c6ff2de500512f01b000881d SHA1 576f32015eca7026bb017efcfc64ce005893d350 SHA256 6fe51750d823ddc1b447a76c7bb8e6c69a76fa42d8d283de892bf7e326e15de6
-EBUILD textpattern-4.0.8.ebuild 935 RMD160 436392d971a501e280729e456af847de066eaf0b SHA1 0bbfdadd3b42f139b7362d34ef800796865727e3 SHA256 6feaeb8e142bb78a86d458d9c415391cc8d1fc425890a67fafdcfabdd4670a34
+EBUILD textpattern-4.0.8.ebuild 918 RMD160 04cf8c2e782ccca116d49d1654a05b2e6d89c966 SHA1 2d13512a2932d4fd8ae7aed09f09565e9f0715f7 SHA256 98eacf6366f9ad09800c8a67a617a6a0a53e4e1fcf8539507f769a50a26f4a85
EBUILD textpattern-4.1.9999.ebuild 985 RMD160 2e591b67c73d2e90755ffd0c8b4a705478de5fa1 SHA1 a049bb174801b9b60157809ff716ac846062ba69 SHA256 d7bde5aa717a8df193c86e271e53d7d23c585b95f4326f4ccd98eb466e6a566d
MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0
diff --git a/www-apps/textpattern/files/postinstall-en.txt b/www-apps/textpattern/files/postinstall-en.txt
index 6173775..23a7fdc 100644
--- a/www-apps/textpattern/files/postinstall-en.txt
+++ b/www-apps/textpattern/files/postinstall-en.txt
@@ -1,2 +1,3 @@
-Now that you've installed this, you can call the installer interface via
-http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/textpanttern/setup/ and follow the directions.
+To finish the installation, open
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/textpattern/setup/
+in your preferred browser and follow the wizard.
diff --git a/www-apps/textpattern/textpattern-4.0.8.ebuild b/www-apps/textpattern/textpattern-4.0.8.ebuild
index 5d35852..befba87 100644
--- a/www-apps/textpattern/textpattern-4.0.8.ebuild
+++ b/www-apps/textpattern/textpattern-4.0.8.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
-inherit webapp depend.php
+inherit webapp
DESCRIPTION="A flexible, elegant and easy-to-use content management system. "
HOMEPAGE="http://textpattern.com/"
@@ -13,16 +13,9 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=""
-RDEPEND="virtual/httpd-cgi"
-
-need_php_httpd
-
-pkg_setup() {
- webapp_pkg_setup
-
- require_php_with_any_use mysql mysqli
-}
+DEPEND="virtual/httpd-php"
+RDEPEND="virtual/httpd-php
+ || ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
src_install() {
webapp_src_preinst
@@ -31,16 +24,16 @@ src_install() {
rm *.txt textpattern/*.txt
einfo "Installing application files."
- cp -r . "${D}"${MY_HTDOCSDIR}
+ cp -r . "${D}${MY_HTDOCSDIR}"
- keepdir ${MY_HTDOCSDIR}/files/
- keepdir ${MY_HTDOCSDIR}/textpattern/tmp/
+ keepdir "${MY_HTDOCSDIR}/files/"
+ keepdir "${MY_HTDOCSDIR}/textpattern/tmp/"
webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
- local serverowned="textpattern/tmp"
+ local serverowned="textpattern/tmp files images"
for f in ${serverowned}; do
- webapp_serverowned ${MY_HTDOCSDIR}/${f}
+ webapp_serverowned "${MY_HTDOCSDIR}/${f}"
done
webapp_src_install