summaryrefslogtreecommitdiff
path: root/net/ucd-snmp/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-12-16 09:04:40 +0000
committerhubertf <hubertf>2000-12-16 09:04:40 +0000
commitf76e46d0e6be5f0ab696df85b2b0fe67c52b1477 (patch)
tree151cf1db7b5004788a523c30cc759f9822a439d4 /net/ucd-snmp/Makefile
parent055ee63baa1f3ee46b3551f03efb4830760de99a (diff)
downloadpkgsrc-f76e46d0e6be5f0ab696df85b2b0fe67c52b1477.tar.gz
Make rc.d script handle stop/start/restart
Diffstat (limited to 'net/ucd-snmp/Makefile')
-rw-r--r--net/ucd-snmp/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile
index 166e9dc2e8d..c22abb9af49 100644
--- a/net/ucd-snmp/Makefile
+++ b/net/ucd-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2000/12/04 11:48:23 itojun Exp $
+# $NetBSD: Makefile,v 1.25 2000/12/16 09:04:40 hubertf Exp $
# FreeBSD Id: Makefile,v 1.18 1998/04/06 20:50:31 andreas Exp
#
@@ -45,14 +45,12 @@ post-extract:
pre-configure:
@(cd ${WRKSRC} && autoreconf)
-post-build:
- @${SED} -e 's,@PREFIX@,${PREFIX},' \
- < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd.sh
-
post-install:
- @${MKDIR} ${PREFIX}/share/examples/ucd-snmp
+ ${MKDIR} ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA_DIR} ${PREFIX}/lib/snmp/dlmod
+ ${SED} -e 's,@PREFIX@,${PREFIX},' \
+ < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd.sh
${INSTALL_SCRIPT} ${WRKDIR}/snmpd.sh ${PREFIX}/etc/rc.d
.if (${OPSYS} == "NetBSD")