summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/autoconf/Makefile6
-rw-r--r--devel/automake/Makefile9
-rw-r--r--devel/gindent/Makefile9
-rw-r--r--devel/gmake/Makefile9
-rw-r--r--devel/m4/Makefile6
5 files changed, 37 insertions, 2 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>
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>
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index aef2c8f17a1..cb4e4aff630 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.2 1997/10/06 14:30:58 agc Exp $
# New ports collection makefile for: indent
# Version required: 1.9.1
# Date created: 28 August 1997
@@ -10,13 +11,18 @@ DISTNAME= indent-1.9.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
+GNU_CONFIGURE= yes
+
MAINTAINER= kchowksey@hss.hns.com
MAN1= indent.1
+OPSYS!= uname -s
+
post-install:
- @mv ${PREFIX}/bin/indent ${PREFIX}/bin/indent
@strip ${PREFIX}/bin/indent
+.if (${OPSYS} != "NetBSD")
+# agc - this assumes /usr/share/info/dir and install-info
@test -d ${PREFIX}/info || ${MKDIR} ${PREFIX}/info \
&& chmod a+rx ${PREFIX}/info
@if [ ! -f ${PREFIX}/info/dir ]; then \
@@ -27,5 +33,6 @@ post-install:
fi ; \
fi
@install-info ${PREFIX}/info/indent.info ${PREFIX}/info/dir
+.endif
.include <bsd.port.mk>
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index 1964cca1fc1..27d5e502f2e 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.2 1997/10/06 14:31:01 agc Exp $
# New ports collection makefile for: GNU make
# Version required: 3.75
# Date created: 11 September 1994
@@ -14,6 +15,13 @@ MASTER_SITES= ${MASTER_SITE_GNU}
GNU_CONFIGURE= yes
MAN1= gmake.1
+OPSYS ?= `uname -s`
+
+.if (${OPSYS} == "NetBSD")
+post-install:
+ /bin/chmod g-s ${PREFIX}/bin/gmake
+ /usr/bin/chgrp ${BINGRP} ${PREFIX}/bin/gmake
+.else
# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem
post-install:
/bin/chmod g-s ${PREFIX}/bin/gmake
@@ -22,5 +30,6 @@ post-install:
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/make.info ${PREFIX}/info/dir
+.endif
.include <bsd.port.mk>
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>