summaryrefslogtreecommitdiff
path: root/devel/autoconf
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-03-11 22:40:40 +0000
committeragc <agc@pkgsrc.org>1998-03-11 22:40:40 +0000
commit4f635453881fc8dadfdd19ebd7b067f5dc736de4 (patch)
tree8ff5c1fda471c33c4b5fbdf314a141005a6578ee /devel/autoconf
parent2147d57712d42ea3e51085fa6fc10eda38abffc9 (diff)
downloadpkgsrc-4f635453881fc8dadfdd19ebd7b067f5dc736de4.tar.gz
Fix a problem pointed out by Charles Hannum.
If perl is not installed, there will be no autoscan script, so construct the packing list at installation time, when the contents are known. Also remove an erroneous check for a texinfo dir file.
Diffstat (limited to 'devel/autoconf')
-rw-r--r--devel/autoconf/Makefile17
-rw-r--r--devel/autoconf/pkg/PLIST4
2 files changed, 10 insertions, 11 deletions
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index c820b8d1c92..91325919092 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -3,7 +3,7 @@
# Date created: 7 October 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $NetBSD: Makefile,v 1.8 1998/02/01 01:22:33 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 1998/03/11 22:40:40 agc Exp $
# FreeBSD Id: Makefile,v 1.12 1997/06/13 20:00:47 max Exp
#
@@ -11,21 +11,20 @@ DISTNAME= autoconf-2.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
-MAINTAINER= torstenb@FreeBSD.ORG
-
-OPSYS!= uname -s
-.if (${OPSYS} == "NetBSD")
BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
-.endif
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
GNU_CONFIGURE= yes
CONFIGURE_ENV+= M4=${PREFIX}/bin/gm4
+PLIST_SRC= ${WRKDIR}/PLIST-src
+
post-install:
- @if [ ! -f ${PREFIX}/info/dir ]; then \
- ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
- fi
+ @(ex='s|@autoscan@|bin/autoscan|'; \
+ if [ ! -f ${WRKSRC}/autoscan ]; then \
+ ex='/@autoscan@/d'; \
+ fi; \
+ ${SED} -e "$$ex" < ${PKGDIR}/PLIST > ${PLIST_SRC})
@install-info ${PREFIX}/info/autoconf.info ${PREFIX}/info/dir
@install-info ${PREFIX}/info/standards.info ${PREFIX}/info/dir
diff --git a/devel/autoconf/pkg/PLIST b/devel/autoconf/pkg/PLIST
index af2d3d423ec..b5406d29968 100644
--- a/devel/autoconf/pkg/PLIST
+++ b/devel/autoconf/pkg/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 1998/01/24 03:47:31 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.4 1998/03/11 22:40:40 agc Exp $
bin/autoconf
bin/autoheader
bin/autoreconf
-bin/autoscan
+@autoscan@
bin/autoupdate
bin/ifnames
@unexec %D/bin/install-info --delete %D/info/autoconf.info %D/info/dir