freebsd-ports/sysutils/rsyslog6-pgsql/Makefile
Baptiste Daroussin 9404499f19 only ryslog7 now has rsyslog-<version> package name.
Change all others to avoid confusion for binary package users

Approved by:	brd
2013-09-17 16:58:27 +00:00

22 lines
604 B
Makefile

# Created by: 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"