summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-27 00:59:30 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-27 00:59:30 +0000
commite1bec5e53d7bc1bc095c3c3418704542fdd2cc6e (patch)
treed1886c63ba2745855ae0490ad112fb7806e77c1c /net-www/horde-turba
parentAdded more useflags that don't apply to sparc. (diff)
downloadgentoo-2-e1bec5e53d7bc1bc095c3c3418704542fdd2cc6e.tar.gz
gentoo-2-e1bec5e53d7bc1bc095c3c3418704542fdd2cc6e.tar.bz2
gentoo-2-e1bec5e53d7bc1bc095c3c3418704542fdd2cc6e.zip
use horde eclass
Diffstat (limited to 'net-www/horde-turba')
-rw-r--r--net-www/horde-turba/ChangeLog4
-rw-r--r--net-www/horde-turba/horde-turba-1.2.1.ebuild39
2 files changed, 5 insertions, 38 deletions
diff --git a/net-www/horde-turba/ChangeLog b/net-www/horde-turba/ChangeLog
index 5319f7661d8e..d83b4370f56d 100644
--- a/net-www/horde-turba/ChangeLog
+++ b/net-www/horde-turba/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for net-www/horde-turba
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/horde-turba/ChangeLog,v 1.10 2004/01/07 21:37:39 robbat2 Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/horde-turba/ChangeLog,v 1.11 2004/01/27 00:59:30 vapier Exp $
07 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> horde-turba-1.2.1.ebuild:
fix bug #37492 and update copyright headers
diff --git a/net-www/horde-turba/horde-turba-1.2.1.ebuild b/net-www/horde-turba/horde-turba-1.2.1.ebuild
index 225a65f40a9e..20affde7f7f2 100644
--- a/net-www/horde-turba/horde-turba-1.2.1.ebuild
+++ b/net-www/horde-turba/horde-turba-1.2.1.ebuild
@@ -1,54 +1,21 @@
# 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-turba/horde-turba-1.2.1.ebuild,v 1.9 2004/01/19 06:57:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/horde-turba/horde-turba-1.2.1.ebuild,v 1.10 2004/01/27 00:59:30 vapier Exp $
-inherit webapp-apache
+inherit horde
-MY_P=${P/horde-/}
DESCRIPTION="Turba is the Horde address book / contact management program"
-HOMEPAGE="http://www.horde.org/turba/"
-SRC_URI="ftp://ftp.horde.org/pub/turba/tarballs/${MY_P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
KEYWORDS="x86 ~ppc ~sparc ~alpha"
DEPEND=""
RDEPEND=">=net-www/horde-2.2.4"
-S=${WORKDIR}/${MY_P}
-
-webapp-detect || NO_WEBSERVER=1
-
pkg_setup() {
GREPBACKEND=`egrep 'sql|odbc|postgres|ldap' /var/db/pkg/dev-php/mod_php*/USE`
if [ -z "${GREPBACKEND}" ] ; then
eerror "Missing SQL or LDAP support in mod_php !"
die "aborting..."
fi
- webapp-pkg_setup "${NO_WEBSERVER}"
- einfo "Installing into ${ROOT}${HTTPD_ROOT}."
-}
-
-src_install() {
- webapp-mkdirs
-
- local DocumentRoot=${HTTPD_ROOT}
- local destdir=${DocumentRoot}/horde/turba
-
- dodoc COPYING README docs/*
- rm -rf COPYING README docs
-
- dodir ${destdir}
- cp -r . ${D}${destdir}
- cd ${D}/${HTTPD_ROOT}/horde
-
- # protecting files
- chown -R ${HTTPD_USER}:${HTTPD_GROUP} turba
- find ${D}/${destdir} -type f -exec chmod 0640 {} \;
- find ${D}/${destdir} -type d -exec chmod 0750 {} \;
-}
-
-pkg_postinst() {
- einfo "Please read /usr/share/doc/${PF}/INSTALL.gz !"
+ horde_pkg_setup
}