From owner-svn-ports-head@freebsd.org Sat Apr 23 06:58:21 2016 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 121ADB1912C; Sat, 23 Apr 2016 06:58:21 +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 C4B811B71; Sat, 23 Apr 2016 06:58:20 +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 u3N6wJoU059533; Sat, 23 Apr 2016 06:58:19 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3N6wJhV059531; Sat, 23 Apr 2016 06:58:19 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201604230658.u3N6wJhV059531@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 23 Apr 2016 06:58:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413850 - head/devel/bugzilla50 X-SVN-Group: ports-head 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.21 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: Sat, 23 Apr 2016 06:58:21 -0000 Author: sunpoet Date: Sat Apr 23 06:58:19 2016 New Revision: 413850 URL: https://svnweb.freebsd.org/changeset/ports/413850 Log: - Remove unnecessary PERL_LEVEL check - Add NO_ARCH - Convert to new options helper - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk With hat: perl Approved by: portmgr (blanket) Modified: head/devel/bugzilla50/Makefile head/devel/bugzilla50/Makefile.common Modified: head/devel/bugzilla50/Makefile ============================================================================== --- head/devel/bugzilla50/Makefile Sat Apr 23 06:58:15 2016 (r413849) +++ head/devel/bugzilla50/Makefile Sat Apr 23 06:58:19 2016 (r413850) @@ -12,6 +12,8 @@ COMMENT= Bug-tracking system developed b LICENSE= MPL # see Bugzilla/Install/Requirements.pm +# PR 194782: silence Module::Pluggable deprecated warnings +# PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv RUN_DEPENDS= \ p5-CGI>=3.51:www/p5-CGI \ p5-DBI>=1.614:databases/p5-DBI \ @@ -24,7 +26,9 @@ RUN_DEPENDS= \ p5-JSON-XS>=2.01:converters/p5-JSON-XS \ p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \ p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \ + p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \ p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \ + p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \ p5-TimeDate>=2.23:devel/p5-TimeDate \ p5-URI>=1.55:net/p5-URI @@ -42,132 +46,57 @@ EMPTY_DIRS_LIST=data graphs contrib lib .include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.options" -.include - -.include -.if ${PERL_LEVEL} >= 501800 -# PR 194782: silence Module::Pluggable deprecated warnings -RUN_DEPENDS+= p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable -# PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv -RUN_DEPENDS+= p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap -.endif - -.if ${PORT_OPTIONS:MMODPERL} -USE_APACHE_RUN= 22+ -.endif - -.if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= yes -RUN_DEPENDS+= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USES+= pgsql:91+ -RUN_DEPENDS+= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg -.endif - -.if ${PORT_OPTIONS:MSQLITE} -USE_SQLITE= yes -RUN_DEPENDS+= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ - sqlite3>=3:databases/sqlite3 -.endif - -.if ${PORT_OPTIONS:MGRAPH_REPORTS} -RUN_DEPENDS+= p5-GD>=1.20:graphics/p5-GD \ - p5-GD-Graph>=0:graphics/p5-GD-Graph \ - p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ - p5-Template-GD>=0:www/p5-Template-GD -.endif - -.if ${PORT_OPTIONS:MCHARTING_MODULES} -RUN_DEPENDS+= p5-Chart>=2.4.10:graphics/p5-Chart -.endif - -.if ${PORT_OPTIONS:MPATCH_VIEWER} -RUN_DEPENDS+= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ - interdiff:misc/patchutils -.endif - -.if ${PORT_OPTIONS:MMORE_HTML} -RUN_DEPENDS+= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ - p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber -.endif - -.if ${PORT_OPTIONS:MINBOUND_EMAIL} -RUN_DEPENDS+= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ - p5-Email-Reply>=0:mail/p5-Email-Reply \ - p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks -.endif - -.if ${PORT_OPTIONS:MMAIL_QUEUEING} -RUN_DEPENDS+= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ - p5-Daemon-Generic>=0:net/p5-Daemon-Generic -.endif - -.if ${PORT_OPTIONS:MMOVE_BUGZ} -RUN_DEPENDS+= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ - p5-XML-Twig>=0:textproc/p5-XML-Twig -.endif - -.if ${PORT_OPTIONS:MBMP2PNG} -RUN_DEPENDS+= convert:graphics/ImageMagick -.endif +MODPERL_USE= APACHE_RUN=22+ +MYSQL_USE= MYSQL=yes +MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql +PGSQL_USES= pgsql:91+ +PGSQL_RUN_DEPENDS= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg +SQLITE_USE= SQLITE=yes +SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ + sqlite3>=3:databases/sqlite3 +GRAPH_REPORTS_RUN_DEPENDS= p5-GD>=1.20:graphics/p5-GD \ + p5-GD-Graph>=0:graphics/p5-GD-Graph \ + p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ + p5-Template-GD>=0:www/p5-Template-GD +CHARTING_MODULES_RUN_DEPENDS= p5-Chart>=2.4.10:graphics/p5-Chart +PATCH_VIEWER_RUN_DEPENDS= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ + interdiff:misc/patchutils +MORE_HTML_RUN_DEPENDS= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ + p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber +INBOUND_EMAIL_RUN_DEPENDS= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ + p5-Email-Reply>=0:mail/p5-Email-Reply \ + p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks +MAIL_QUEUEING_RUN_DEPENDS= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ + p5-Daemon-Generic>=0:net/p5-Daemon-Generic +MOVE_BUGZ_RUN_DEPENDS= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ + p5-XML-Twig>=0:textproc/p5-XML-Twig +BMP2PNG_RUN_DEPENDS= convert:graphics/ImageMagick # Note: XML-RPC and JSON-RPC are deprecated in favor of REST # and will likely be removed in the Bugzilla 7.0 release. -.if ${PORT_OPTIONS:MXMLRPC} || ${PORT_OPTIONS:MJSONRPC} || ${PORT_OPTIONS:MREST} -RUN_DEPENDS+= p5-Test-Taint>=1.06:devel/p5-Test-Taint -.endif - -.if ${PORT_OPTIONS:MXMLRPC} -RUN_DEPENDS+= p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite # XXX SOAP::Lite can be removed if upstream officially depends on # XMLRPC::Lite>=0.717, see Bugzilla/Install/Requirements.pm -RUN_DEPENDS+= p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite -.endif +XMLRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ + p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite \ + p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite +JSONRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ + p5-JSON-RPC>=0:devel/p5-JSON-RPC +REST_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ + p5-JSON-RPC>=0:devel/p5-JSON-RPC +MODPERL_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ + p5-Apache-DBI>=0:www/p5-Apache-DBI +GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz +EXPORT_IMPORT_RUN_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ + p5-XML-Twig>=0:textproc/p5-XML-Twig +LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap +RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius +SMTP_AUTH_RUN_DEPENDS= p5-Authen-SASL>=2.16:security/p5-Authen-SASL +SMTP_SSL_RUN_DEPENDS= p5-Net-SMTP-SSL>=1.01:mail/p5-Net-SMTP-SSL +MIME_SNIFF_RUN_DEPENDS= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ + p5-IO-stringy>=2.110:devel/p5-IO-stringy +MEMCACHED_RUN_DEPENDS= p5-Cache-Memcached>=1.30:databases/p5-Cache-Memcached -.if ${PORT_OPTIONS:MJSONRPC} || ${PORT_OPTIONS:MREST} -RUN_DEPENDS+= p5-JSON-RPC>=0:devel/p5-JSON-RPC -.endif - -.if ${PORT_OPTIONS:MMODPERL} -RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ - p5-Apache-DBI>=0:www/p5-Apache-DBI -.endif - -.if ${PORT_OPTIONS:MGRAPHVIZ} -RUN_DEPENDS+= dot:graphics/graphviz -.endif - -.if ${PORT_OPTIONS:MEXPORT_IMPORT} -RUN_DEPENDS+= p5-XML-Parser>=0:textproc/p5-XML-Parser \ - p5-XML-Twig>=0:textproc/p5-XML-Twig -.endif - -.if ${PORT_OPTIONS:MLDAP} -RUN_DEPENDS+= p5-perl-ldap>=0:net/p5-perl-ldap -.endif - -.if ${PORT_OPTIONS:MRADIUS} -RUN_DEPENDS+= p5-Authen-Radius>=0:security/p5-Authen-Radius -.endif - -.if ${PORT_OPTIONS:MSMTP_AUTH} -RUN_DEPENDS+= p5-Authen-SASL>=2.16:security/p5-Authen-SASL -.endif - -.if ${PORT_OPTIONS:MSMTP_SSL} -RUN_DEPENDS+= p5-Net-SMTP-SSL>=1.01:mail/p5-Net-SMTP-SSL -.endif - -.if ${PORT_OPTIONS:MMIME_SNIFF} -RUN_DEPENDS+= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ - p5-IO-stringy>=2.110:devel/p5-IO-stringy -.endif - -.if ${PORT_OPTIONS:MMEMCACHED} -RUN_DEPENDS+= p5-Cache-Memcached>=1.30:databases/p5-Cache-Memcached -.endif +.include post-extract: # The docs_urlbase parameter has been removed. If documentation has not been @@ -215,4 +144,4 @@ do-install-VOTING-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/Voting (cd ${WRKSRC}/extensions/Voting && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/Voting) -.include +.include Modified: head/devel/bugzilla50/Makefile.common ============================================================================== --- head/devel/bugzilla50/Makefile.common Sat Apr 23 06:58:15 2016 (r413849) +++ head/devel/bugzilla50/Makefile.common Sat Apr 23 06:58:19 2016 (r413850) @@ -13,5 +13,6 @@ WWWDIR= ${PREFIX}/www/bugzilla BINMODE= 700 +NO_ARCH= yes NO_BUILD= yes