diff options
author | agc <agc@pkgsrc.org> | 1997-10-06 14:30:49 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-06 14:30:49 +0000 |
commit | c697686fb25b932265652494279fdbfdcd080bf4 (patch) | |
tree | c616322c1ba350a7c6d75b4bb67cf448027e8e3c /devel/autoconf | |
parent | 43eead261a1ecac08ce4702b9edbe226486c9fcf (diff) | |
download | pkgsrc-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/autoconf')
-rw-r--r-- | devel/autoconf/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile index 29ccea99b9c..43f7654d2a3 100644 --- a/devel/autoconf/Makefile +++ b/devel/autoconf/Makefile @@ -1,3 +1,4 @@ +# $NetBSD: Makefile,v 1.2 1997/10/06 14:30:49 agc Exp $ # New ports collection makefile for: autoconf # Version required: 2.12 # Date created: 7 October 1995 @@ -17,11 +18,16 @@ MAINTAINER= torstenb@FreeBSD.ORG GNU_CONFIGURE= yes CONFIGURE_ENV= M4=${PREFIX}/bin/gm4 +OPSYS!= uname -s + +.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> |