From owner-svn-ports-head@freebsd.org Thu Jun 29 19:14:00 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A1BDDA3E1C; Thu, 29 Jun 2017 19:14:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E279E7027B; Thu, 29 Jun 2017 19:13:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5TJDwB7060875; Thu, 29 Jun 2017 19:13:58 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5TJDwl7060874; Thu, 29 Jun 2017 19:13:58 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201706291913.v5TJDwl7060874@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 29 Jun 2017 19:13:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444675 - head/net/p5-Net-Google-SafeBrowsing2 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/net/p5-Net-Google-SafeBrowsing2 X-SVN-Commit-Revision: 444675 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2017 19:14:00 -0000 Author: sunpoet Date: Thu Jun 29 19:13:58 2017 New Revision: 444675 URL: https://svnweb.freebsd.org/changeset/ports/444675 Log: Remove Perl core modules - While I'm here: - Convert to options dependency helper - Add NO_ARCH - Bump PORTREVISION for dependency change With hat: perl Modified: head/net/p5-Net-Google-SafeBrowsing2/Makefile Modified: head/net/p5-Net-Google-SafeBrowsing2/Makefile ============================================================================== --- head/net/p5-Net-Google-SafeBrowsing2/Makefile Thu Jun 29 19:13:53 2017 (r444674) +++ head/net/p5-Net-Google-SafeBrowsing2/Makefile Thu Jun 29 19:13:58 2017 (r444675) @@ -3,7 +3,7 @@ PORTNAME= Net-Google-SafeBrowsing2 PORTVERSION= 1.09 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,10 +13,8 @@ COMMENT= Perl extension for the Google Safe Browsing v BUILD_DEPENDS= p5-libwww>=5:www/p5-libwww \ p5-URI>=1:net/p5-URI \ - p5-Digest-SHA>=5:security/p5-Digest-SHA \ p5-Net-IPAddress>=1:net-mgmt/p5-Net-IPAddress \ p5-Text-Trim>=1:textproc/p5-Text-Trim \ - p5-MIME-Base64>=3:converters/p5-MIME-Base64 \ p5-MIME-Base64-URLSafe>=0.01:converters/p5-MIME-Base64-URLSafe \ p5-Digest-HMAC>=1:security/p5-Digest-HMAC \ p5-String-HexConvert>=0.01:textproc/p5-String-HexConvert \ @@ -32,24 +30,15 @@ Postgres_DESC= uses Postgres as the storage backend OPTIONS_DEFAULT=SQLite +NO_ARCH= yes USES= perl5 USE_PERL5= configure -.include - -.if ${PORT_OPTIONS:MSQLite} -BUILD_DEPENDS+= p5-DBD-SQLite>=1:databases/p5-DBD-SQLite -RUN_DEPENDS+= p5-DBD-SQLite>=1:databases/p5-DBD-SQLite -.endif - -.if ${PORT_OPTIONS:MMySQL} -BUILD_DEPENDS+= p5-DBD-mysql>=4:databases/p5-DBD-mysql -RUN_DEPENDS+= p5-DBD-mysql>=4:databases/p5-DBD-mysql -.endif - -.if ${PORT_OPTIONS:MPostgres} -BUILD_DEPENDS+= p5-DBD-Pg>=2:databases/p5-DBD-Pg -RUN_DEPENDS+= p5-DBD-Pg>=2:databases/p5-DBD-Pg -.endif +MySQL_BUILD_DEPENDS= p5-DBD-mysql>=4:databases/p5-DBD-mysql +MySQL_RUN_DEPENDS= p5-DBD-mysql>=4:databases/p5-DBD-mysql +Postgres_BUILD_DEPENDS= p5-DBD-Pg>=2:databases/p5-DBD-Pg +Postgres_RUN_DEPENDS= p5-DBD-Pg>=2:databases/p5-DBD-Pg +SQLite_BUILD_DEPENDS= p5-DBD-SQLite>=1:databases/p5-DBD-SQLite +SQLite_RUN_DEPENDS= p5-DBD-SQLite>=1:databases/p5-DBD-SQLite .include