summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2002-04-29 08:49:21 +0000
committerThilo Bangert <bangert@gentoo.org>2002-04-29 08:49:21 +0000
commitb42454aa243312b741c3e1f2bc244c9228229edb (patch)
treeaf67ae8d682e56e65d58170c26ddf3712e243456 /net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild
parentimagemagick now no longer (indirectly) depends on X (diff)
downloadgentoo-2-b42454aa243312b741c3e1f2bc244c9228229edb.tar.gz
gentoo-2-b42454aa243312b741c3e1f2bc244c9228229edb.tar.bz2
gentoo-2-b42454aa243312b741c3e1f2bc244c9228229edb.zip
fix install locations
Diffstat (limited to 'net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild')
-rw-r--r--net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild b/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild
index ad506a2c47a8..975642adbcc2 100644
--- a/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild
+++ b/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Maintainer: Thilo Bangert <bangert@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild,v 1.2 2002/04/27 21:46:45 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild,v 1.3 2002/04/29 08:49:21 bangert Exp $
S=${WORKDIR}/${P}
@@ -18,11 +18,8 @@ src_unpack() {
unpack ${A} ; cd ${S}
#make sure stuff get's installed the right places
- mv configure configure.orig
- sed -e "s:^cgidir=.*:cgidir=\"/etc/vmailmgr/cgi-bin\":" \
- -e "s:^phpdir=.*:phpdir=\"/etc/vmailmgr/php\":" \
- configure.orig > configure
- chmod ug+x configure
+ patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die
+
}
src_compile() {
@@ -39,7 +36,7 @@ src_install () {
make DESTDIR=${D} install || die
- #add documentation
+ dodoc AUTHORS INSTALL README TODO NEWS
exeinto /var/lib/supervise/vmailmgrd
newexe ${S}/scripts/vmailmgrd.run run
@@ -51,8 +48,10 @@ src_install () {
newexe ${S}/scripts/autoresponder.sh vdeliver-postdeliver
doexe ${FILESDIR}/checkvpw-loginfail
- doexe ${FILESDIR}/socket-file
- doexe ${FILESDIR}/separators
+
+ insinto /etc/vmailmgr
+ doins ${FILESDIR}/socket-file
+ doins ${FILESDIR}/separators
}