aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog5-relp/Makefile
blob: 097271146148ce80d98adb8df09d5201101c2d8f (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
25
26
27
28
29
30
31
# New ports collection makefile for: rsyslog4-relp
# Date created:     29 December 2008
# Whom:             Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#

COMMENT=    RELP input/output module for rsyslog
MASTERDIR=  ${.CURDIR}/../rsyslog5

MNAME=  relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS=    relp.0:${PORTSDIR}/devel/librelp

CONFIGURE_ARGS+=--enable-relp

PLIST_FILES+=   lib/rsyslog/imrelp.la \
        lib/rsyslog/imrelp.so \
        lib/rsyslog/omrelp.la \
        lib/rsyslog/omrelp.so

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