aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog-mysql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rsyslog-mysql/Makefile')
-rw-r--r--sysutils/rsyslog-mysql/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/rsyslog-mysql/Makefile b/sysutils/rsyslog-mysql/Makefile
new file mode 100644
index 000000000000..4f87d4d1c85d
--- /dev/null
+++ b/sysutils/rsyslog-mysql/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: rsyslog-mysql
+# Date created: 13 December 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+COMMENT= MySQL output module for rsyslog
+PKGNAMESUFFIX= -mysql
+
+MASTERDIR= ${.CURDIR}/../rsyslog
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --enable-mysql
+RUN_DEPENDS= rsyslog>=0:${PORTSDIR}/sysutils/rsyslog
+PLIST_FILES= lib/rsyslog/ommysql.so
+PLIST_DIRS= lib/rsyslog
+PLIST= ""
+
+do-install:
+ @${INSTALL} -d ${PREFIX}/lib/rsyslog/
+ @${INSTALL_PROGRAM} ${WRKSRC}/plugins/ommysql/.libs/ommysql.so \
+ ${PREFIX}/lib/rsyslog/
+
+.include "${MASTERDIR}/Makefile"