aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-29 12:21:58 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-29 12:21:58 +0000
commit57d0d48442a486e5a8a6b5a8dbfe772d083fd80e (patch)
treee97c46b39c2375b621f9d941671543a950d33c1d /mail
parented0d64592c659fc5c7ae8d0da820e39ec0bc84ad (diff)
downloadports-57d0d48442a486e5a8a6b5a8dbfe772d083fd80e.tar.gz
ports-57d0d48442a486e5a8a6b5a8dbfe772d083fd80e.zip
Create info/dir before attempting install-info.
Notes
Notes: svn path=/head/; revision=14952
Diffstat (limited to 'mail')
-rw-r--r--mail/exim-devel/Makefile7
-rw-r--r--mail/exim-old/Makefile7
-rw-r--r--mail/exim/Makefile7
3 files changed, 18 insertions, 3 deletions
diff --git a/mail/exim-devel/Makefile b/mail/exim-devel/Makefile
index 5a49c7fd4dd8..c7e01a9f753a 100644
--- a/mail/exim-devel/Makefile
+++ b/mail/exim-devel/Makefile
@@ -3,7 +3,7 @@
# Date created: 23 June 1996
# Whom: axl@iafrica.com
#
-# $Id: Makefile,v 1.21 1998/11/17 11:05:15 markm Exp $
+# $Id: Makefile,v 1.22 1998/11/28 05:38:56 asami Exp $
#
DISTNAME= exim-2.053
@@ -41,6 +41,11 @@ do-configure:
post-build:
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
+pre-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+
post-install:
@${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
exim-2.053 POST-INSTALL
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index 5a49c7fd4dd8..c7e01a9f753a 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -3,7 +3,7 @@
# Date created: 23 June 1996
# Whom: axl@iafrica.com
#
-# $Id: Makefile,v 1.21 1998/11/17 11:05:15 markm Exp $
+# $Id: Makefile,v 1.22 1998/11/28 05:38:56 asami Exp $
#
DISTNAME= exim-2.053
@@ -41,6 +41,11 @@ do-configure:
post-build:
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
+pre-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+
post-install:
@${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
exim-2.053 POST-INSTALL
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 5a49c7fd4dd8..c7e01a9f753a 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -3,7 +3,7 @@
# Date created: 23 June 1996
# Whom: axl@iafrica.com
#
-# $Id: Makefile,v 1.21 1998/11/17 11:05:15 markm Exp $
+# $Id: Makefile,v 1.22 1998/11/28 05:38:56 asami Exp $
#
DISTNAME= exim-2.053
@@ -41,6 +41,11 @@ do-configure:
post-build:
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
+pre-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+
post-install:
@${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
exim-2.053 POST-INSTALL