blob: a2a612768661e1d278c00f98800e2634c02e8699 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 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
NO_STAGE= yes
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"
|