From owner-svn-ports-head@FreeBSD.ORG Wed Sep 4 13:11:02 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 952DA281; Wed, 4 Sep 2013 13:11:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 831372278; Wed, 4 Sep 2013 13:11:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r84DB2s1076391; Wed, 4 Sep 2013 13:11:02 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r84DB27W076390; Wed, 4 Sep 2013 13:11:02 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201309041311.r84DB27W076390@svn.freebsd.org> From: Mathieu Arnold Date: Wed, 4 Sep 2013 13:11:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326274 - head/Mk/Uses 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.14 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: Wed, 04 Sep 2013 13:11:02 -0000 Author: mat Date: Wed Sep 4 13:11:02 2013 New Revision: 326274 URL: http://svnweb.freebsd.org/changeset/ports/326274 Log: * Add devel/p5-Module-Build-Tiny support to USE_PERL5 with modbuildtiny. * Add doc for the configure, modbuild and modbuildtiny options. Reviewed by: az, bapt Approved by: az, bapt Modified: head/Mk/Uses/perl5.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Wed Sep 4 13:09:08 2013 (r326273) +++ head/Mk/Uses/perl5.mk Wed Sep 4 13:11:02 2013 (r326274) @@ -26,7 +26,10 @@ # SITE_PERL - Directory name where site specific perl packages go. # This value is added to PLIST_SUB. # USE_PERL5 - If set, this port uses perl5 in one or more of the extract, -# patch, build, install or run phases +# patch, build, install or run phases. +# It can also have configure, modbuild and modbuildtiny when +# the port needs to run Makefile.PL, Build.PL and a +# Module::Build::Tiny flavor of Build.PL. .if !defined(_INCLUDE_USES_PERL5_MK) _INCLUDE_USES_PERL5_MK= yes @@ -147,12 +150,15 @@ _MANPAGES+= ${P5MAN${sect}:S%^%${PREFIX} .endif .endfor -.if ${_USE_PERL5:Mmodbuild} +.if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny} _USE_PERL5+= configure CONFIGURE_SCRIPT?= Build.PL .if ${PORTNAME} != Module-Build BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build .endif +.if ${_USE_PERL5:Mmodbuildtiny} +BUILD_DEPENDS+= ${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny +.endif ALL_TARGET?= PL_BUILD?= Build CONFIGURE_ARGS+= \