summaryrefslogtreecommitdiff
path: root/devel/autoconf
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-09 09:22:30 +0000
committeragc <agc@pkgsrc.org>1997-10-09 09:22:30 +0000
commitb7e19b6859e19d6ace626dc22799447a692108cb (patch)
treefaca2cfbb0e8d2d2084caedea5dd284541ef6a9d /devel/autoconf
parent5fca7286e4d6c712a9ba9271acde7665a6fdb6b5 (diff)
downloadpkgsrc-b7e19b6859e19d6ace626dc22799447a692108cb.tar.gz
Add a (build) dependency on gtexinfo for NetBSD.
Remove previous OS-dependent hack whereby we had no info files on NetBSD. Install the info files by default.
Diffstat (limited to 'devel/autoconf')
-rw-r--r--devel/autoconf/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index 43f7654d2a3..929914aef33 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1997/10/06 14:30:49 agc Exp $
+# $NetBSD: Makefile,v 1.3 1997/10/09 09:22:30 agc Exp $
# New ports collection makefile for: autoconf
# Version required: 2.12
# Date created: 7 October 1995
@@ -18,16 +18,17 @@ MAINTAINER= torstenb@FreeBSD.ORG
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${PREFIX}/bin/gm4
-OPSYS!= uname -s
+OPSYS!= uname -s
+
+.if (${OPSYS} == "NetBSD")
+BUILD_DEPENDS= install-info:${PORTSDIR}/devel/gtexinfo
+.endif
-.if (${OPSYS} != "NetBSD")
-# agc - this assumes /usr/share/info/dir and install-info
post-install:
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/autoconf.info ${PREFIX}/info/dir
@install-info ${PREFIX}/info/standards.info ${PREFIX}/info/dir
-.endif
.include <bsd.port.mk>