summaryrefslogtreecommitdiff
path: root/devel/m4
diff options
context:
space:
mode:
authoragc <agc>1997-10-06 14:30:49 +0000
committeragc <agc>1997-10-06 14:30:49 +0000
commitfd24d407c03b219d74088e0720e9c97fc344e6d8 (patch)
treec616322c1ba350a7c6d75b4bb67cf448027e8e3c /devel/m4
parentf6f4ff14a789ad51cb714258fb3dbfad89c65c8b (diff)
downloadpkgsrc-fd24d407c03b219d74088e0720e9c97fc344e6d8.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/m4')
-rw-r--r--devel/m4/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index d7e5d96b068..4e1580f8f4f 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.2 1997/10/06 14:31:03 agc Exp $
# New ports collection makefile for: m4
# Version required: 1.4
# Date created: 25 October 1994
@@ -13,12 +14,17 @@ MASTER_SITES= ${MASTER_SITE_GNU}
GNU_CONFIGURE=yes
CONFIGURE_ARGS= --program-prefix=g
+OPSYS!= uname -s
+
post-install:
@${MKDIR} ${PREFIX}/share/examples/gm4
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4
+.if (${OPSYS} != "NetBSD")
+# agc - this assumes /usr/share/info/dir and install-info
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/m4.info ${PREFIX}/info/dir
+.endif
.include <bsd.port.mk>