openbsd-ports/net/ucd-snmp/Makefile

46 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.26 2001/03/28 19:05:30 danh Exp $
COMMENT= "extendable SNMP implementation"
2001-01-05 04:19:44 -05:00
DISTNAME= ucd-snmp-4.2
CATEGORIES= net
NEED_VERSION= 1.364
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
HOMEPAGE= http://net-snmp.sourceforge.net/
2000-09-23 15:59:51 -04:00
MAINTAINER= Dan Harnett <danh@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= autoconf dest
2001-01-27 21:08:53 -05:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-defaults --with-logfile='/var/log/snmpd' \
2001-01-05 04:19:44 -05:00
--with-persistent-directory='/var/ucd-snmp' \
--with-libwrap='/usr' --with-openssl --with-zlib
2001-01-27 21:08:53 -05:00
CONFIGURE_ENV= VERSION_INFO='42:0:0'
1998-01-08 17:55:30 -05:00
SNMP_BIN= encode_keychange snmpbulkget snmpbulkwalk snmpdelta \
snmpdf snmpget snmpgetnext snmpnetstat snmpset snmpstatus \
snmptable snmptest snmptranslate snmptrap snmpusm snmpvacm \
snmpwalk
SNMP_SBIN= snmpd snmptrapd
1998-01-08 17:55:30 -05:00
post-install:
@cd ${PREFIX}/bin && strip ${SNMP_BIN}
@cd ${PREFIX}/sbin && strip ${SNMP_SBIN}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/README.snmpv3 ${PREFIX}/share/doc/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/AGENT.txt ${PREFIX}/share/doc/ucd-snmp
2001-01-05 04:19:44 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf \
${PREFIX}/share/examples/ucd-snmp
1998-01-08 17:55:30 -05:00
.include <bsd.port.mk>