openbsd-ports/net/ucd-snmp/Makefile

40 lines
1.4 KiB
Makefile
Raw Normal View History

2000-07-10 16:28:00 -04:00
# $OpenBSD: Makefile,v 1.14 2000/07/10 20:28:03 danh Exp $
DISTNAME= ucd-snmp-4.1.2
CATEGORIES= net
2000-06-22 11:36:26 -04:00
NEED_VERSION= 1.302
HOMEPAGE= http://ucd-snmp.ucdavis.edu/
2000-07-10 16:28:00 -04:00
MAINTAINER= danh@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= --with-persistent-directory='/var/ucd-snmp'
CONFIGURE_ARGS+= --with-sys-contact='<change_me>'
CONFIGURE_ARGS+= --with-sys-location='<change_me>'
CONFIGURE_ARGS+= --with-logfile='/var/log/snmpd'
2000-06-02 15:47:07 -04:00
BIN= encode_keychange snmpbulkget snmpbulkwalk snmpdelta \
snmpget snmpgetnext snmpnetstat snmpset snmpstatus \
snmptable snmptest snmptranslate snmptrap snmpusm snmpwalk
SBIN= snmpd snmptrapd
1998-01-08 17:55:30 -05:00
post-install:
( cd ${PREFIX}/bin; strip ${BIN} )
( cd ${PREFIX}/sbin; strip ${SBIN} )
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucd-snmp
cd ${WRKSRC}; ${INSTALL_DATA} EXAMPLE.conf ${PREFIX}/share/examples/ucd-snmp
cd ${WRKSRC}; ${INSTALL_DATA} README ${PREFIX}/share/doc/ucd-snmp
cd ${WRKSRC}; ${INSTALL_DATA} README.snmpv3 ${PREFIX}/share/doc/ucd-snmp
cd ${WRKSRC}; ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/ucd-snmp
cd ${WRKSRC}; ${INSTALL_DATA} AGENT.txt ${PREFIX}/share/doc/ucd-snmp
1998-01-08 17:55:30 -05:00
.include <bsd.port.mk>