freebsd-ports/sysutils/rsyslog6-devel-pgsql/Makefile
Philip M. Gollucci 6509ee24fd RSYSLOG OVERHAUL: Part 10
- Update to 6.1.0

PR:             ports/151021
2010-10-06 00:16:58 +00:00

26 lines
709 B
Makefile

# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog6-devel
MNAME= pgsql
USE_PGSQL= yes
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include "${MASTERDIR}/Makefile"