aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog5-snmp/Makefile
blob: 200ee8884c33fbf723441b2c739838d9f8c9a717 (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}/../rsyslog5

MNAME=  snmp
LIB_DEPENDS=    netsnmp.30:${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"