From owner-svn-ports-all@FreeBSD.ORG Fri Aug 24 16:57:57 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83ABD106566C; Fri, 24 Aug 2012 16:57:57 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 558258FC14; Fri, 24 Aug 2012 16:57:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7OGvvE4072146; Fri, 24 Aug 2012 16:57:57 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7OGvv4Q072142; Fri, 24 Aug 2012 16:57:57 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201208241657.q7OGvv4Q072142@svn.freebsd.org> From: Jason Helfman Date: Fri, 24 Aug 2012 16:57:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303093 - head/mail/policyd2 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 16:57:57 -0000 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 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