Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 03:47:10 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306370 - in head/devel: . p5-Package-Variant
Message-ID:  <201210250347.q9P3lA7P065047@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Thu Oct 25 03:47:09 2012
New Revision: 306370
URL: http://svn.freebsd.org/changeset/ports/306370

Log:
  Package::Variant allows you to build packages that return different
  variations depending on what parameters are given.
  
  Users of your package will receive a subroutine able to take parameters
  and return the name of a suitable variant package. The implmenetation
  does not care about what kind of package it builds.
  
  WWW: http://search.cpan.org/dist/Package-Variant/
  
  Feature safe:	yes

Added:
  head/devel/p5-Package-Variant/
  head/devel/p5-Package-Variant/Makefile   (contents, props changed)
  head/devel/p5-Package-Variant/distinfo   (contents, props changed)
  head/devel/p5-Package-Variant/pkg-descr   (contents, props changed)
  head/devel/p5-Package-Variant/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Oct 25 03:19:09 2012	(r306369)
+++ head/devel/Makefile	Thu Oct 25 03:47:09 2012	(r306370)
@@ -2367,6 +2367,7 @@
     SUBDIR += p5-Package-Generator
     SUBDIR += p5-Package-Stash
     SUBDIR += p5-Package-Stash-XS
+    SUBDIR += p5-Package-Variant
     SUBDIR += p5-PadWalker
     SUBDIR += p5-Parallel-ForkManager
     SUBDIR += p5-Parallel-Iterator

Added: head/devel/p5-Package-Variant/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Package-Variant/Makefile	Thu Oct 25 03:47:09 2012	(r306370)
@@ -0,0 +1,23 @@
+# Created by: Wen Heping <wen@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Package-Variant
+PORTVERSION=	1.001002
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Parameterizable packages
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Import-Into>=0:${PORTSDIR}/devel/p5-Import-Into
+RUN_DEPENDS=	p5-Import-Into>=0:${PORTSDIR}/devel/p5-Import-Into
+
+PERL_CONFIGURE=	yes
+
+MAN3=		Package::Variant.3
+
+.include <bsd.port.mk>

Added: head/devel/p5-Package-Variant/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Package-Variant/distinfo	Thu Oct 25 03:47:09 2012	(r306370)
@@ -0,0 +1,2 @@
+SHA256 (Package-Variant-1.001002.tar.gz) = 594f21f721884a90582c9132552598ff8adcccae15ad0a971497bdd3f4ba7b66
+SIZE (Package-Variant-1.001002.tar.gz) = 8069

Added: head/devel/p5-Package-Variant/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Package-Variant/pkg-descr	Thu Oct 25 03:47:09 2012	(r306370)
@@ -0,0 +1,8 @@
+Package::Variant allows you to build packages that return different
+variations depending on what parameters are given.
+
+Users of your package will receive a subroutine able to take parameters
+and return the name of a suitable variant package. The implmenetation
+does not care about what kind of package it builds.
+
+WWW: http://search.cpan.org/dist/Package-Variant/

Added: head/devel/p5-Package-Variant/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Package-Variant/pkg-plist	Thu Oct 25 03:47:09 2012	(r306370)
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Package/Variant.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Package-Variant/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Package-Variant
+@dirrmtry %%SITE_PERL%%/Package



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