summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2011-04-29 22:35:43 +0000
committerBeech Rintoul <beech@FreeBSD.org>2011-04-29 22:35:43 +0000
commit06020e72bca2059ad140bb7cbd07a14d8c5b5e64 (patch)
tree62474c5f0ace5deab1931703176f587f61fcdd2f /mail
parentImagination is a simple DVD slide show maker. It uses sox and ffmpeg (diff)
-Add postgresql support
PR: ports/156702 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Approved by: Chifeng QU <chifeng@gmail.com> (maintainer) itetcu (mentor)(implicit)
Notes
Notes: svn path=/head/; revision=273342
Diffstat (limited to 'mail')
-rw-r--r--mail/policyd2/Makefile4
-rw-r--r--mail/policyd2/distinfo1
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile
index 54bdcb0c2741..f3fd320018e4 100644
--- a/mail/policyd2/Makefile
+++ b/mail/policyd2/Makefile
@@ -30,6 +30,7 @@ PORTDOCS= AUTHORS CHANGELOG INSTALL TODO WISHLIST
PORTDATA= *
OPTIONS= MYSQL "Use MySQL support" On \
+ PostgreSQL "Use PostgreSQL support" Off \
SQLite "Use SQLite support" Off
.include <bsd.port.pre.mk>
@@ -40,6 +41,9 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DB
.if defined(WITH_SQLite)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite
.endif
+.if defined(WITH_PostgreSQL)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+.endif
post-patch:
@${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/cbpadmin
diff --git a/mail/policyd2/distinfo b/mail/policyd2/distinfo
index ee4ec4d892be..29f3cdbb4455 100644
--- a/mail/policyd2/distinfo
+++ b/mail/policyd2/distinfo
@@ -1,3 +1,2 @@
-MD5 (cluebringer-2.0.10.tar.gz) = 374eb5b5f7325343defaf185964d421e
SHA256 (cluebringer-2.0.10.tar.gz) = be335acb8e282a31a65a3f44de8c0ac0f0ac8f18090e20391b486d6b1efd752b
SIZE (cluebringer-2.0.10.tar.gz) = 133110