summaryrefslogtreecommitdiff
path: root/devel/automake
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-06 14:30:49 +0000
committeragc <agc@pkgsrc.org>1997-10-06 14:30:49 +0000
commitc697686fb25b932265652494279fdbfdcd080bf4 (patch)
treec616322c1ba350a7c6d75b4bb67cf448027e8e3c /devel/automake
parent43eead261a1ecac08ce4702b9edbe226486c9fcf (diff)
downloadpkgsrc-c697686fb25b932265652494279fdbfdcd080bf4.tar.gz
Add NetBSD RCS Ids.
Use uname -s to work out the Operating System. FreeBSD has install-info and /usr/share/info/dir by default. NetBSD doesn't, so, for now, don't try to do this on NetBSD.
Diffstat (limited to 'devel/automake')
-rw-r--r--devel/automake/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile
index bf2123907b8..f6bbcf6bb34 100644
--- a/devel/automake/Makefile
+++ b/devel/automake/Makefile
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.2 1997/10/06 14:30:54 agc Exp $
# New ports collection makefile for: automake
# Version required: 1.2
# Date created: 15 March 1997
@@ -13,11 +14,17 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= fujimoto@oscar.elec.waseda.ac.jp
GNU_CONFIGURE= yes
-CONFIGURE_ENV= PERL=/usr/bin/perl
+CONFIGURE_ENV= PERL=${PREFIX}/bin/perl
STRIP= # none
+
+OPSYS!= uname -s
+
+.if (${OPSYS} != "NetBSD")
+# agc - this assumes /usr/share/info/dir and install-info
pre-install:
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
+.endif
.include <bsd.port.mk>