# $NetBSD: Makefile,v 1.4 2018/08/16 18:55:12 adam Exp $
#
RSYSLOG_MOD= mysql
PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
PKGREVISION= 1
DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
.include "../../sysutils/rsyslog/Makefile.common"
CONFIGURE_ARGS+= --enable-mysql
BUILD_DIRS= plugins/ommysql
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql \
${DESTDIR}${EGDIR}/createDB-mysql.sql
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>