Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 16:57:57 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303093 - head/mail/policyd2
Message-ID:  <201208241657.q7OGvv4Q072142@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Fri Aug 24 16:57:56 2012
New Revision: 303093
URL: http://svn.freebsd.org/changeset/ports/303093

Log:
  - update to 2.0.12, adopt optionsNG
  
  PR:	170947
  Submitted by:	jgh@
  Approved by: maintainer, chifeng@gmail.com

Modified:
  head/mail/policyd2/Makefile   (contents, props changed)
  head/mail/policyd2/distinfo   (contents, props changed)

Modified: head/mail/policyd2/Makefile
==============================================================================
--- head/mail/policyd2/Makefile	Fri Aug 24 16:57:20 2012	(r303092)
+++ head/mail/policyd2/Makefile	Fri Aug 24 16:57:56 2012	(r303093)
@@ -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

Modified: head/mail/policyd2/distinfo
==============================================================================
--- head/mail/policyd2/distinfo	Fri Aug 24 16:57:20 2012	(r303092)
+++ head/mail/policyd2/distinfo	Fri Aug 24 16:57:56 2012	(r303093)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208241657.q7OGvv4Q072142>