diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-01-27 19:48:39 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-01-27 19:48:39 +0000 |
commit | 4dc1d88d1775e39f400b0f33f53210a59398ecd2 (patch) | |
tree | 15f0c5eeb29120d9e332cbda15dea7422c4a798b /sysutils/rsyslog4-mysql | |
parent | b62247f57b337bd8d3f32de79fcd330316d95a4b (diff) | |
download | ports-4dc1d88d1775e39f400b0f33f53210a59398ecd2.tar.gz ports-4dc1d88d1775e39f400b0f33f53210a59398ecd2.zip |
Notes
Diffstat (limited to 'sysutils/rsyslog4-mysql')
-rw-r--r-- | sysutils/rsyslog4-mysql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog4-mysql/pkg-plist | 4 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/rsyslog4-mysql/Makefile b/sysutils/rsyslog4-mysql/Makefile new file mode 100644 index 000000000000..b79f1b0acb65 --- /dev/null +++ b/sysutils/rsyslog4-mysql/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: rsyslog4-mysql +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com> +# +# $FreeBSD$ +# + +COMMENT= MySQL output module for rsyslog + +MNAME= mysql +USE_MYSQL= yes + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-mysql + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/ommysql/.libs/ommysql.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/ommysql/ommysql.la ${PREFIX}/lib/rsyslog +post-install: +.ifndef NOPORTEXAMPLES + @${INSTALL} -d ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql +.endif +.include <bsd.port.mk> diff --git a/sysutils/rsyslog4-mysql/pkg-plist b/sysutils/rsyslog4-mysql/pkg-plist new file mode 100644 index 000000000000..3321cd33fa3a --- /dev/null +++ b/sysutils/rsyslog4-mysql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ommysql.la +lib/rsyslog/ommysql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mysql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% |