aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog-pgsql/Makefile
blob: e8a0b5fdb8895c6b8a39395cdf5a48569aa7c40c (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:    rsyslog-pgsql
# Date created:     13 December 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

COMMENT=    PostgreSQL output module for rsyslog
PKGNAMESUFFIX=  -pgsql

MASTERDIR=  ${.CURDIR}/../rsyslog
USE_PGSQL=  yes
CONFIGURE_ARGS+=    --enable-pgsql
RUN_DEPENDS=    rsyslog>=0:${PORTSDIR}/sysutils/rsyslog
PLIST_FILES=    lib/rsyslog/ompgsql.so
PLIST_DIRS= lib/rsyslog
PLIST=  ""

do-install:
    @${INSTALL} -d ${PREFIX}/lib/rsyslog/
    @${INSTALL_PROGRAM} ${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so \
        ${PREFIX}/lib/rsyslog/

.include "${MASTERDIR}/Makefile"