freebsd-ports/sysutils/rsyslog6-pgsql/Makefile
Brad Davis 4357b9a9c3 - Add rsyslog6*, the stable branch of rsyslog-6 at version 6.2.2
- Take maintainer

PR:		ports/169307
Approved by:	pgollucci
2012-08-16 21:52:44 +00:00

26 lines
703 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
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"