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
commitf02bccadfb44481155a2b2fbbeecc3d896ba87b5 (patch)
treec616322c1ba350a7c6d75b4bb67cf448027e8e3c /devel/m4
parent0d46d00f8b08ec4c924c75f47f34df4f4a24d839 (diff)
downloadpkgsrc-f02bccadfb44481155a2b2fbbeecc3d896ba87b5.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>