mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
4dc1d88d17
brings the core modules for basic functionality. -mysql outputs to a MySQL database PR: ports/130046 Submitted by: Cristiano Rolim Pereira <cristianorolim at hotmail.com>
28 lines
704 B
Makefile
28 lines
704 B
Makefile
# 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>
|