From owner-svn-ports-head@FreeBSD.ORG Sat Oct 6 19:41:22 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 357D310657D8; Sat, 6 Oct 2012 19:41:22 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 060E48FC08; Sat, 6 Oct 2012 19:41:22 +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 q96JfLLL027432; Sat, 6 Oct 2012 19:41:21 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q96JfLVY027429; Sat, 6 Oct 2012 19:41:21 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201210061941.q96JfLVY027429@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 6 Oct 2012 19:41:21 +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: r305397 - head/devel/p5-Bread-Board X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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, 06 Oct 2012 19:41:22 -0000 Author: sunpoet Date: Sat Oct 6 19:41:21 2012 New Revision: 305397 URL: http://svn.freebsd.org/changeset/ports/305397 Log: - Add LICENSE - Convert to new options framework Modified: head/devel/p5-Bread-Board/Makefile (contents, props changed) Modified: head/devel/p5-Bread-Board/Makefile ============================================================================== --- head/devel/p5-Bread-Board/Makefile Sat Oct 6 19:01:15 2012 (r305396) +++ head/devel/p5-Bread-Board/Makefile Sat Oct 6 19:41:21 2012 (r305397) @@ -15,21 +15,21 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= A solderless way to wire up your application components +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + BUILD_DEPENDS= p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-Clone>=0.05:${PORTSDIR}/devel/p5-MooseX-Clone \ p5-MooseX-Params-Validate>=0.14:${PORTSDIR}/devel/p5-MooseX-Params-Validate \ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny -RUN_DEPENDS= p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \ - p5-MooseX-Clone>=0.05:${PORTSDIR}/devel/p5-MooseX-Clone \ - p5-MooseX-Params-Validate>=0.14:${PORTSDIR}/devel/p5-MooseX-Params-Validate \ - p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny - +RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Form-Sensible>=0:${PORTSDIR}/devel/p5-Form-Sensible \ p5-Log-Dispatch>=0:${PORTSDIR}/devel/p5-Log-Dispatch \ p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \ p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires -OPTIONS= GRAPHVIZ "Using Graphviz to visualize a Bread::Board system" off +OPTIONS_DEFINE= GRAPHVIZ +GRAPHVIZ_DESC= Visualize a Bread::Board system via Graphviz PERL_CONFIGURE= yes @@ -68,7 +68,7 @@ MAN3= Bread::Board.3 \ .include -.if defined(WITH_GRAPHVIZ) +.if ${PORT_OPTIONS:MGRAPHVIZ} BUILD_DEPENDS+= p5-Data-Visitor>=0:${PORTSDIR}/devel/p5-Data-Visitor \ p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz \ p5-MooseX-Runnable>=0:${PORTSDIR}/devel/p5-MooseX-Runnable \ @@ -82,7 +82,7 @@ RUN_DEPENDS+= p5-Data-Visitor>=0:${PORTS .endif post-patch: -.if defined(WITH_GRAPHVIZ) +.if ${PORT_OPTIONS:MGRAPHVIZ} @${REINPLACE_CMD} -e 's|^# require|require|' ${WRKSRC}/Makefile.PL .else .endif