blob: 62c9405ae9e8cd5cf08868e0a28c3a820e80fbcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: bsnmpd
# Date created: Sep 22 2005
# Whom: Andrey V. Elsukov <bu7cher@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= bsnmpd
PORTVERSION= 1.12
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://people.freebsd.org/~harti/bsnmp/
DISTNAME= bsnmp-${PORTVERSION}
MAINTAINER= bu7cher@yandex.ru
COMMENT= A mini-SNMP daemon
LIB_DEPENDS= begemot.1:${PORTSDIR}/devel/libbegemot \
smi.2:${PORTSDIR}/net-mgmt/libsmi
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libbegemot=${LOCALBASE}
USE_AUTOTOOLS= autoconf:261
USE_LDCONFIG= yes
USE_GCC= 3.2+
USE_RC_SUBR= bsnmpd.sh
MAN1= bsnmpd.1 gensnmptree.1 gensnmpdef.1
MAN3= asn1.3 bsnmplib.3 bsnmpclient.3 bsnmpagent.3 snmpmod.3 \
snmp_mibII.3
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 600000
IGNORE= bsnmpd already in base system
.endif
post-install:
@${MKDIR} ${PREFIX}/etc
@${INSTALL_DATA} ${BUILD_WRKSRC}/snmpd/snmpd.config ${PREFIX}/etc/snmpd.config.example
.include <bsd.port.post.mk>
|