diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-01-27 19:49:26 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-01-27 19:49:26 +0000 |
commit | 1585fdcd8b00783fd02d14fbcbf9b7c195844272 (patch) | |
tree | f6decc158dfc2775c6a5dae9f8324a9e9ca3c56c /sysutils/rsyslog5-devel-pgsql | |
parent | 4dc1d88d1775e39f400b0f33f53210a59398ecd2 (diff) | |
download | ports-1585fdcd8b00783fd02d14fbcbf9b7c195844272.tar.gz ports-1585fdcd8b00783fd02d14fbcbf9b7c195844272.zip |
Notes
Diffstat (limited to 'sysutils/rsyslog5-devel-pgsql')
-rw-r--r-- | sysutils/rsyslog5-devel-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog5-devel-pgsql/pkg-plist | 4 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/rsyslog5-devel-pgsql/Makefile b/sysutils/rsyslog5-devel-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog5-devel-pgsql/Makefile @@ -0,0 +1,27 @@ +# 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 + +MNAME= pgsql +USE_PGSQL= yes + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +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 <bsd.port.mk> diff --git a/sysutils/rsyslog5-devel-pgsql/pkg-plist b/sysutils/rsyslog5-devel-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog5-devel-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% |