1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/rsyslog55-mysql/Makefile
Philip M. Gollucci 4dc1d88d17 Rsyslog works based in input and output modules. The port sysutils/rsyslog4
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>
2009-01-27 19:48:39 +00:00

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>