diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-08-08 06:29:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-08-08 06:29:14 +0000 |
commit | 85c701ff1edf377202a7729f1e168273cd6106d0 (patch) | |
tree | e21b2e12a6b7bd21082bf147c7b12aafbf68b7d7 /eclass/horde.eclass | |
parent | Mark stable on x86 (diff) | |
download | historical-85c701ff1edf377202a7729f1e168273cd6106d0.tar.gz historical-85c701ff1edf377202a7729f1e168273cd6106d0.tar.bz2 historical-85c701ff1edf377202a7729f1e168273cd6106d0.zip |
fix webapp install for now
Diffstat (limited to 'eclass/horde.eclass')
-rw-r--r-- | eclass/horde.eclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/horde.eclass b/eclass/horde.eclass index f40a924b8c48..4c035fa226a8 100644 --- a/eclass/horde.eclass +++ b/eclass/horde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.12 2004/07/30 20:48:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.13 2004/08/08 06:29:14 vapier Exp $ # # Help manage the horde project http://www.horde.org/ # @@ -46,6 +46,10 @@ HOMEPAGE="http://www.horde.org/${HORDE_PN}" LICENSE="LGPL-2" +# INSTALL_DIR is used by webapp.eclass when USE=-vhosts +INSTALL_DIR="/horde" +[ "${HORDE_PN}" != "horde" ] && INSTALL_DIR="${INSTALL_DIR}/${HORDE_PN}" + horde_pkg_setup() { webapp_pkg_setup @@ -80,7 +84,6 @@ horde_src_install() { webapp_src_preinst local destdir=${MY_HTDOCSDIR} - [ "${HORDE_PN}" != "horde" ] && destdir=${destdir}/${HORDE_PN} # Work-around when dealing with CVS sources [ "${EHORDE_CVS}" == "true" ] && cd ${HORDE_PN} @@ -113,5 +116,11 @@ horde_pkg_postinst() { ewarn "They tend to break things when working with" ewarn "the non CVS versions of horde." fi + if use vhost ; then + echo + ewarn "When installing horde into a vhost dir, you will" + ewarn "need to use the -d option so that it is installed" + ewarn "into the proper location." + fi webapp_pkg_postinst } |