diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-27 00:59:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-27 00:59:30 +0000 |
commit | caf413eae53555a4f87eb390f1f5093221cffb86 (patch) | |
tree | 0ec38460eccdcd6f5764a72a51f2e8853a9eb838 /net-www/horde | |
parent | Added more useflags that don't apply to sparc. (diff) | |
download | historical-caf413eae53555a4f87eb390f1f5093221cffb86.tar.gz historical-caf413eae53555a4f87eb390f1f5093221cffb86.tar.bz2 historical-caf413eae53555a4f87eb390f1f5093221cffb86.zip |
use horde eclass
Diffstat (limited to 'net-www/horde')
-rw-r--r-- | net-www/horde/Manifest | 4 | ||||
-rw-r--r-- | net-www/horde/horde-2.2.4.ebuild | 42 | ||||
-rw-r--r-- | net-www/horde/metadata.xml | 3 |
3 files changed, 13 insertions, 36 deletions
diff --git a/net-www/horde/Manifest b/net-www/horde/Manifest index 643592311425..5d56881acb87 100644 --- a/net-www/horde/Manifest +++ b/net-www/horde/Manifest @@ -1,4 +1,4 @@ -MD5 d00b68f4d9082ed6fc81dd6232bed73f files/digest-horde-2.2.4 63 -MD5 90a5681f8ae4e3a017871877ccbb1131 horde-2.2.4.ebuild 1758 +MD5 7df2278c8f78bed436ffe122eacca6fe horde-2.2.4.ebuild 1134 MD5 a9d1c0a872a683d89c3f78033399dd7c ChangeLog 2031 MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 +MD5 d00b68f4d9082ed6fc81dd6232bed73f files/digest-horde-2.2.4 63 diff --git a/net-www/horde/horde-2.2.4.ebuild b/net-www/horde/horde-2.2.4.ebuild index 9c29f824a591..75545fb7b66b 100644 --- a/net-www/horde/horde-2.2.4.ebuild +++ b/net-www/horde/horde-2.2.4.ebuild @@ -1,15 +1,12 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/horde/horde-2.2.4.ebuild,v 1.12 2004/01/19 06:35:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/horde/horde-2.2.4.ebuild,v 1.13 2004/01/27 00:56:42 vapier Exp $ -inherit webapp-apache +inherit horde DESCRIPTION="Horde Application Framework" HOMEPAGE="http://www.horde.org/" -SRC_URI="http://ftp.horde.org/pub/horde/tarballs/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~alpha" DEPEND="" @@ -18,46 +15,27 @@ RDEPEND=">=dev-php/mod_php-4.1.0 >=dev-libs/libxml2-2.4.21 >=net-www/horde-pear-1.1" -webapp-detect || NO_WEBSERVER=1 - pkg_setup() { - if [ -L ${HTTPD_ROOT}/horde ] ; then + if [ -L ${ROOT}/${HTTPD_ROOT}/horde ] ; then ewarn "You need to unmerge your old Horde version first." ewarn "Horde will be installed into ${HTTPD_ROOT}/horde" ewarn "directly instead of a version-dependant directory." die "need to unmerge old version first" fi - webapp-pkg_setup "${NO_WEBSERVER}" - einfo "Installing into ${ROOT}${HTTPD_ROOT}." + horde_pkg_setup } src_install() { - webapp-mkdirs - - local DocumentRoot=${HTTPD_ROOT} - local destdir=${DocumentRoot}/${PN} - - dodoc COPYING README docs/* - rm -rf COPYING README docs - - dodir ${destdir} - cp -r . ${D}${destdir} - - cd ${D}/${HTTPD_ROOT} - chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} - - # Fix permissions - find ${D}/${HTTPD_ROOT}/horde/ -type f -exec chmod 0640 {} \; - find ${D}/${HTTPD_ROOT}/horde/ -type d -exec chmod 0750 {} \; - chmod 0000 ${D}${destdir}/test.php + horde_src_install + chmod 0000 test.php } pkg_postinst() { - einfo "Horde requires PHP to have :" + horde_pkg_postinst + echo + einfo "Horde requires PHP to have:" einfo " ==> 'short_open_tag enabled = On'" einfo " ==> 'magic_quotes_runtime set = Off'" einfo " ==> 'file_uploads enabled = On'" - einfo "Please edit /etc/php4/php.ini." - einfo "" - einfo "Please read /usr/share/doc/${PF}/INSTALL.gz !" + einfo "Please edit /etc/php/apache2-php4/php.ini" } diff --git a/net-www/horde/metadata.xml b/net-www/horde/metadata.xml index 13bc126c7d91..68c78dd23817 100644 --- a/net-www/horde/metadata.xml +++ b/net-www/horde/metadata.xml @@ -3,7 +3,6 @@ <pkgmetadata> <herd>web-apps</herd> <maintainer> -<email>web-apps@gentoo.org</email> -<name>Gentoo Web Application Packages Maintainers</name> +<email>vapier@gentoo.org</email> </maintainer> </pkgmetadata> |