aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-12-01 09:20:15 +0800
committerobrien <obrien@FreeBSD.org>1996-12-01 09:20:15 +0800
commit238c02c9d9fee5aee4bb8357a9efa521b3d1364e (patch)
treeea31dbaf68549d5135b3a93130baac942e860726 /net
parenta1dd4352b9cc07400912812d602572bfba09de37 (diff)
downloadfreebsd-ports-gnome-238c02c9d9fee5aee4bb8357a9efa521b3d1364e.tar.gz
freebsd-ports-gnome-238c02c9d9fee5aee4bb8357a9efa521b3d1364e.tar.zst
freebsd-ports-gnome-238c02c9d9fee5aee4bb8357a9efa521b3d1364e.zip
Cleaned up post-install target.
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/Makefile17
-rw-r--r--net/net-snmp4/Makefile17
-rw-r--r--net/ucd-snmp/Makefile17
3 files changed, 27 insertions, 24 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index feb0697cce70..8c71932ad4ef 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.4 1996/11/22 11:45:46 asami Exp $
+# $Id: Makefile,v 1.5 1996/11/22 11:48:53 asami Exp $
#
DISTNAME= ucd-snmp-3.1
@@ -15,11 +15,6 @@ MAINTAINER= gpalmer@FreeBSD.ORG
NO_PACKAGE= yes # asks too many questions
GNU_CONFIGURE= yes
IS_INTERACTIVE= yes
-
-BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat \
- snmpset snmpstatus snmptest snmptranslate \
- snmptrap snmptrapd snmpwalk
-SBIN= snmpd
MAN1= snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 \
snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 \
snmpstatus.1
@@ -27,10 +22,16 @@ MAN3= snmp_api.3
MAN5= variables.5 snmpd.conf.5
MAN8= snmptrapd.8 snmpd.8
+BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat \
+ snmpset snmpstatus snmptest snmptranslate \
+ snmptrap snmptrapd snmpwalk
+SBIN= snmpd
+
post-install:
( cd ${PREFIX}/bin; strip ${BIN} )
( cd ${PREFIX}/sbin; strip ${SBIN} )
- ${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- ( cd ${WRKSRC}/etc; cp * ${PREFIX}/share/examples/ucd-snmp )
+ @${MKDIR} ${PREFIX}/share/examples/ucd-snmp
+ @for F in ${WRKSRC}/etc/* ; do \
+ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
.include <bsd.port.mk>
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index feb0697cce70..8c71932ad4ef 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.4 1996/11/22 11:45:46 asami Exp $
+# $Id: Makefile,v 1.5 1996/11/22 11:48:53 asami Exp $
#
DISTNAME= ucd-snmp-3.1
@@ -15,11 +15,6 @@ MAINTAINER= gpalmer@FreeBSD.ORG
NO_PACKAGE= yes # asks too many questions
GNU_CONFIGURE= yes
IS_INTERACTIVE= yes
-
-BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat \
- snmpset snmpstatus snmptest snmptranslate \
- snmptrap snmptrapd snmpwalk
-SBIN= snmpd
MAN1= snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 \
snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 \
snmpstatus.1
@@ -27,10 +22,16 @@ MAN3= snmp_api.3
MAN5= variables.5 snmpd.conf.5
MAN8= snmptrapd.8 snmpd.8
+BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat \
+ snmpset snmpstatus snmptest snmptranslate \
+ snmptrap snmptrapd snmpwalk
+SBIN= snmpd
+
post-install:
( cd ${PREFIX}/bin; strip ${BIN} )
( cd ${PREFIX}/sbin; strip ${SBIN} )
- ${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- ( cd ${WRKSRC}/etc; cp * ${PREFIX}/share/examples/ucd-snmp )
+ @${MKDIR} ${PREFIX}/share/examples/ucd-snmp
+ @for F in ${WRKSRC}/etc/* ; do \
+ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
.include <bsd.port.mk>
diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile
index feb0697cce70..8c71932ad4ef 100644
--- a/net/ucd-snmp/Makefile
+++ b/net/ucd-snmp/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 June 1996
# Whom: gpalmer
#
-# $Id: Makefile,v 1.4 1996/11/22 11:45:46 asami Exp $
+# $Id: Makefile,v 1.5 1996/11/22 11:48:53 asami Exp $
#
DISTNAME= ucd-snmp-3.1
@@ -15,11 +15,6 @@ MAINTAINER= gpalmer@FreeBSD.ORG
NO_PACKAGE= yes # asks too many questions
GNU_CONFIGURE= yes
IS_INTERACTIVE= yes
-
-BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat \
- snmpset snmpstatus snmptest snmptranslate \
- snmptrap snmptrapd snmpwalk
-SBIN= snmpd
MAN1= snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 \
snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 \
snmpstatus.1
@@ -27,10 +22,16 @@ MAN3= snmp_api.3
MAN5= variables.5 snmpd.conf.5
MAN8= snmptrapd.8 snmpd.8
+BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat \
+ snmpset snmpstatus snmptest snmptranslate \
+ snmptrap snmptrapd snmpwalk
+SBIN= snmpd
+
post-install:
( cd ${PREFIX}/bin; strip ${BIN} )
( cd ${PREFIX}/sbin; strip ${SBIN} )
- ${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- ( cd ${WRKSRC}/etc; cp * ${PREFIX}/share/examples/ucd-snmp )
+ @${MKDIR} ${PREFIX}/share/examples/ucd-snmp
+ @for F in ${WRKSRC}/etc/* ; do \
+ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
.include <bsd.port.mk>