openbsd-ports/net/ucd-snmp/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2000/04/09 17:37:38 espie Exp $
1998-01-08 17:55:30 -05:00
#
1999-07-21 16:12:13 -04:00
DISTNAME= ucd-snmp-3.6.2
1998-01-08 17:55:30 -05:00
CATEGORIES= net
FAKE=No
1999-07-21 16:12:13 -04:00
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/
MAINTAINER= hugh@openbsd.org
1998-01-08 17:55:30 -05:00
2000-02-12 01:29:49 -05:00
LICENSE_TYPE= BSD
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
2000-02-12 01:29:49 -05:00
1998-01-08 17:55:30 -05:00
GNU_CONFIGURE= yes
.if defined(PACKAGE_BUILDING)
1999-07-21 16:12:13 -04:00
CONFIGURE_ARGS= --with-defaults --with-sys-contact=nobody@no.where --with-logfile="/var/log/snmpd"
1998-01-08 17:55:30 -05:00
.else
IS_INTERACTIVE= yes
NO_PACKAGE= interactive port
1999-07-21 16:12:13 -04:00
CONFIGURE_ARGS= --with-logfile="/var/log/snmpd"
1998-01-08 17:55:30 -05:00
.endif
1999-07-21 16:12:13 -04:00
MAN1= snmpbulkwalk.1 snmpcmd.1 snmpd.1 snmpdelta.1 snmpget.1 \
snmpgetnext.1 snmpnetstat.1 snmpset.1 snmpstatus.1 \
snmptable.1 snmptest.1 snmptranslate.1 snmptrap.1 \
snmpwalk.1
MAN3= mib_api.3 read_config.3 snmp_api.3 snmp_sess_api.3
MAN5=
MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \
snmptrapd.conf.5 variables.5
MAN8= snmptrapd.8
BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \
snmpstatus snmptest snmptranslate snmptrap snmpwalk
SBIN= snmpd snmptrapd
1998-01-08 17:55:30 -05:00
post-install:
( cd ${PREFIX}/bin; strip ${BIN} )
( cd ${PREFIX}/sbin; strip ${SBIN} )
@mkdir -p ${PREFIX}/share/examples/ucd-snmp
1998-01-08 17:55:30 -05:00
@for F in ${WRKSRC}/etc/* ; do \
${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
.include <bsd.port.mk>