1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/sysutils/rsyslog6-devel-mysql/Makefile
Martin Wilke 19942cae40 - Update to 5.3.3
- Connect to build

PR:		139382
Submitted by:	Cristiano Rolim Pereira <cristianorolim@hotmail.com> (maintainer)
2009-12-18 20:44:29 +00:00

27 lines
698 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
MASTERDIR= ${.CURDIR}/../rsyslog5
MNAME= mysql
USE_MYSQL= yes
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 "${MASTERDIR}/Makefile"