aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/policyd2/Makefile19
-rw-r--r--mail/policyd2/distinfo4
2 files changed, 11 insertions, 12 deletions
diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile
index 8d8645d85fdf..d165628206cd 100644
--- a/mail/policyd2/Makefile
+++ b/mail/policyd2/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= policyd2
-PORTVERSION= 2.0.11
-PORTREVISION= 1
+PORTVERSION= 2.0.12
CATEGORIES= mail
-MASTER_SITES= http://devlabs.linuxassist.net/attachments/download/187/
+MASTER_SITES= http://devlabs.linuxassist.net/attachments/download/${DOWNLOAD_FOLDER}/
DISTNAME= cluebringer-${PORTVERSION}
MAINTAINER= chifeng@gmail.com
@@ -25,24 +24,24 @@ USE_PHP= yes
NO_BUILD= yes
USE_RC_SUBR= policyd2
BINMODE= 0755
+DOWNLOAD_FOLDER= 222
WEBUIDIR= ${PREFIX}/www/policyd
PORTDOCS= AUTHORS ChangeLog INSTALL TODO WISHLIST
PORTDATA= *
-OPTIONS= MYSQL "Use MySQL support" On \
- PostgreSQL "Use PostgreSQL support" Off \
- SQLite "Use SQLite support" Off
+OPTIONS_DEFINE= MYSQL PGSQL SQLITE
+OPTIONS_DEFAULT= MYSQL
.include <bsd.port.pre.mk>
USE_PHP= pdo_mysql
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif
-.if defined(WITH_SQLite)
+.if ${PORT_OPTIONS:MSQLITE}
RUN_DEPENDS+= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
.endif
-.if defined(WITH_PostgreSQL)
+.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif
@@ -69,7 +68,7 @@ post-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} database ${DATADIR}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/mail/policyd2/distinfo b/mail/policyd2/distinfo
index 191b8a14e6ae..896ba9070347 100644
--- a/mail/policyd2/distinfo
+++ b/mail/policyd2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cluebringer-2.0.11.tar.gz) = 7095454c4d62335b9b4c297d51d058877d3a44e697d5d8de8968dd21898d464c
-SIZE (cluebringer-2.0.11.tar.gz) = 139075
+SHA256 (cluebringer-2.0.12.tar.gz) = 7141fd64a0056957331d5c1a3af8c21d77519c34b370748d6d3fb37556bd091d
+SIZE (cluebringer-2.0.12.tar.gz) = 140169