aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog5-snmp/Makefile
blob: f6a0e253d532ebbf0f763c0c2234c1d301609a1d (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.20:${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"