diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ucd-snmp/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile index 389f11b6225..7e0283ed130 100644 --- a/net/ucd-snmp/Makefile +++ b/net/ucd-snmp/Makefile @@ -1,14 +1,14 @@ -# $NetBSD: Makefile,v 1.1 1998/05/24 12:31:11 hubertf Exp $ +# $NetBSD: Makefile,v 1.2 1998/05/30 14:41:16 frueauf Exp $ # FreeBSD Id: Makefile,v 1.18 1998/04/06 20:50:31 andreas Exp # DISTNAME= ucd-snmp PKGNAME= ucd-snmp-3.4 +WRKSRC= ${WRKDIR}/ucd-snmp-3.4 CATEGORIES= net MASTER_SITES= ftp://ftp.ece.ucdavis.edu/pub/snmp/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ - ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ -WRKSRC= ${WRKDIR}/ucd-snmp-3.4 + ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ MAINTAINER= packages@netbsd.org @@ -32,9 +32,9 @@ post-install: @for F in ${WRKSRC}/etc/* ; do \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${PREFIX}/etc/rc.d/snmpd.sh ]; then \ - echo "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ - echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/snmpd.sh; \ - echo "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && echo -n ' snmpd'" >> ${PREFIX}/etc/rc.d/snmpd.sh; \ + ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ + ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/snmpd.sh; \ + ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${PREFIX}/etc/rc.d/snmpd.sh; \ chmod 751 ${PREFIX}/etc/rc.d/snmpd.sh; \ fi |