aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog6-devel-snmp/Makefile
blob: 4634fd96907568029015417f1944d3e6dcd9a166 (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}/../rsyslog6-devel

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"