aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog3-pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rsyslog3-pgsql')
-rw-r--r--sysutils/rsyslog3-pgsql/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/sysutils/rsyslog3-pgsql/Makefile b/sysutils/rsyslog3-pgsql/Makefile
index e8a0b5fdb889..e76bf2386991 100644
--- a/sysutils/rsyslog3-pgsql/Makefile
+++ b/sysutils/rsyslog3-pgsql/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: rsyslog-pgsql
+# New ports collection makefile for: rsyslog3-pgsql
# Date created: 13 December 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
@@ -6,19 +6,10 @@
#
COMMENT= PostgreSQL output module for rsyslog
-PKGNAMESUFFIX= -pgsql
-MASTERDIR= ${.CURDIR}/../rsyslog
+MNAME= pgsql
+MTYPES= om
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"
+.include "${.CURDIR}/../rsyslog3/bsd.rsyslog.mk"
+.include <bsd.port.mk>