pkgsrc/sysutils/rsyslog-pgsql/Makefile
fhajny 6ecf8e9bd8 Import rsyslog-8.4.0 as sysutils/rsyslog* (based on wip/rsyslog8).
Rsyslog is an enhanced syslogd supporting, among others, MySQL,
PostgreSQL, failover log destinations, syslog/tcp, fine grain
output format control, high precision timestamps, queued operations
and the ability to filter on any message part. It is quite
compatible to stock sysklogd and can be used as a drop-in
replacement.
2014-09-05 07:15:41 +00:00

21 lines
539 B
Makefile

# $NetBSD: Makefile,v 1.1 2014/09/05 07:15:41 fhajny Exp $
#
RSYSLOG_MOD= pgsql
PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
.include "../../sysutils/rsyslog/Makefile.common"
CONFIGURE_ARGS+= --enable-pgsql
BUILD_DIRS+= plugins/ompgsql
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql \
${DESTDIR}${EGDIR}/createDB-pgsql.sql
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"