Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 19:41:21 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305397 - head/devel/p5-Bread-Board
Message-ID:  <201210061941.q96JfLVY027429@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
 
-.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061941.q96JfLVY027429>