aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2011-04-30 06:35:43 +0800
committerbeech <beech@FreeBSD.org>2011-04-30 06:35:43 +0800
commitb39089042e64a28d9680e9686b9f1eef5161c927 (patch)
treee7d5bc29e9658100f3ff894170133ef00a673b56 /mail
parent09d9e81899341157c24d5068af5d197616dc662c (diff)
downloadfreebsd-ports-gnome-b39089042e64a28d9680e9686b9f1eef5161c927.tar.gz
freebsd-ports-gnome-b39089042e64a28d9680e9686b9f1eef5161c927.tar.zst
freebsd-ports-gnome-b39089042e64a28d9680e9686b9f1eef5161c927.zip
-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)
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