summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit96bc8048c3217bb231f2f30eadeb628134b557f5 (patch)
treec75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /net-mgmt
parentChecksum changed.... (diff)
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile23
-rw-r--r--net-mgmt/net-snmp/Makefile23
-rw-r--r--net-mgmt/net-snmp4/Makefile23
-rw-r--r--net-mgmt/net-snmp53/Makefile23
4 files changed, 52 insertions, 40 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index f9c8ac74ffc0..44acc26a7de0 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.21 1998/08/30 15:51:13 steve Exp $
+# $Id: Makefile,v 1.22 1998/10/19 22:43:08 nectar Exp $
#
DISTNAME= ucd-snmp-3.5.3
@@ -36,6 +36,17 @@ SBIN= snmpd snmptrapd
STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
+.include <bsd.port.pre.mk>
+
+
+.if ${PORTOBJFORMAT} == "aout"
+SHLIB_VERSION=3.5
+PATCHDIR=patches.aout
+.else
+SHLIB_VERSION=3
+.endif
+MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+
post-install:
( cd ${PREFIX}/bin && strip ${BIN} )
( cd ${PREFIX}/sbin && strip ${SBIN} )
@@ -51,12 +62,4 @@ post-install:
fi
${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if (${PORTOBJFORMAT} == "aout")
-SHLIB_VERSION=3.5
-PATCHDIR=patches.aout
-.else
-SHLIB_VERSION=3
-.endif
-MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index f9c8ac74ffc0..44acc26a7de0 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.21 1998/08/30 15:51:13 steve Exp $
+# $Id: Makefile,v 1.22 1998/10/19 22:43:08 nectar Exp $
#
DISTNAME= ucd-snmp-3.5.3
@@ -36,6 +36,17 @@ SBIN= snmpd snmptrapd
STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
+.include <bsd.port.pre.mk>
+
+
+.if ${PORTOBJFORMAT} == "aout"
+SHLIB_VERSION=3.5
+PATCHDIR=patches.aout
+.else
+SHLIB_VERSION=3
+.endif
+MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+
post-install:
( cd ${PREFIX}/bin && strip ${BIN} )
( cd ${PREFIX}/sbin && strip ${SBIN} )
@@ -51,12 +62,4 @@ post-install:
fi
${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if (${PORTOBJFORMAT} == "aout")
-SHLIB_VERSION=3.5
-PATCHDIR=patches.aout
-.else
-SHLIB_VERSION=3
-.endif
-MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile
index f9c8ac74ffc0..44acc26a7de0 100644
--- a/net-mgmt/net-snmp4/Makefile
+++ b/net-mgmt/net-snmp4/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.21 1998/08/30 15:51:13 steve Exp $
+# $Id: Makefile,v 1.22 1998/10/19 22:43:08 nectar Exp $
#
DISTNAME= ucd-snmp-3.5.3
@@ -36,6 +36,17 @@ SBIN= snmpd snmptrapd
STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
+.include <bsd.port.pre.mk>
+
+
+.if ${PORTOBJFORMAT} == "aout"
+SHLIB_VERSION=3.5
+PATCHDIR=patches.aout
+.else
+SHLIB_VERSION=3
+.endif
+MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+
post-install:
( cd ${PREFIX}/bin && strip ${BIN} )
( cd ${PREFIX}/sbin && strip ${SBIN} )
@@ -51,12 +62,4 @@ post-install:
fi
${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if (${PORTOBJFORMAT} == "aout")
-SHLIB_VERSION=3.5
-PATCHDIR=patches.aout
-.else
-SHLIB_VERSION=3
-.endif
-MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index f9c8ac74ffc0..44acc26a7de0 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.21 1998/08/30 15:51:13 steve Exp $
+# $Id: Makefile,v 1.22 1998/10/19 22:43:08 nectar Exp $
#
DISTNAME= ucd-snmp-3.5.3
@@ -36,6 +36,17 @@ SBIN= snmpd snmptrapd
STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
+.include <bsd.port.pre.mk>
+
+
+.if ${PORTOBJFORMAT} == "aout"
+SHLIB_VERSION=3.5
+PATCHDIR=patches.aout
+.else
+SHLIB_VERSION=3
+.endif
+MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+
post-install:
( cd ${PREFIX}/bin && strip ${BIN} )
( cd ${PREFIX}/sbin && strip ${SBIN} )
@@ -51,12 +62,4 @@ post-install:
fi
${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.mk>
-
-.if (${PORTOBJFORMAT} == "aout")
-SHLIB_VERSION=3.5
-PATCHDIR=patches.aout
-.else
-SHLIB_VERSION=3
-.endif
-MAKE_ENV+= SHLIB_VERSION=${SHLIB_VERSION}
+.include <bsd.port.post.mk>