summaryrefslogtreecommitdiff
path: root/sysutils/rsyslog5-snmp/Makefile
blob: be7c95329280c7a0bdff3fa4cf8a2230227cb426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# New ports collection makefile for: rsyslog4-snmp
# Date created:     29 December 2008
# Whom:             Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#

COMMENT=	SNMP trap sender for rsyslog
MASTERDIR=	${.CURDIR}/../rsyslog4

MNAME=	snmp
LIB_DEPENDS=	netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp

CONFIGURE_ARGS+=--enable-snmp

PLIST_FILES+=	lib/rsyslog/omsnmp.la \
		lib/rsyslog/omsnmp.so

do-install:
	@${INSTALL_PROGRAM} \
		${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
	@${INSTALL_DATA} \
		${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include "${MASTERDIR}/Makefile"