diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-11-15 23:48:53 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-11-15 23:48:53 +0800 |
commit | 5713a5dbc880ff2df168e11e5d08a4d34c11a152 (patch) | |
tree | 86ea66095bc37d872b88921ca5ad6ba2d60cdad9 | |
parent | 6b3c48c577637bb9ef6fa722ee97eb42fa84eb7a (diff) | |
download | freebsd-ports-gnome-5713a5dbc880ff2df168e11e5d08a4d34c11a152.tar.gz freebsd-ports-gnome-5713a5dbc880ff2df168e11e5d08a4d34c11a152.tar.zst freebsd-ports-gnome-5713a5dbc880ff2df168e11e5d08a4d34c11a152.zip |
- Update to 0.06
- Add OPTIONS
- Use bsd.port.options.mk
Changes: http://search.cpan.org/dist/Data-Random/Changes
Feature safe: yes
-rw-r--r-- | devel/p5-Data-Random/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-Data-Random/distinfo | 4 |
2 files changed, 19 insertions, 11 deletions
diff --git a/devel/p5-Data-Random/Makefile b/devel/p5-Data-Random/Makefile index a1e765e82710..85f75452faad 100644 --- a/devel/p5-Data-Random/Makefile +++ b/devel/p5-Data-Random/Makefile @@ -1,10 +1,12 @@ # New Ports Collection Makefile for: p5-Data-Random # Date created: 2004-07-07 # Whom: Anton Berezin <tobez@FreeBSD.org> +# # $FreeBSD$ +# PORTNAME= Data-Random -PORTVERSION= 0.05 +PORTVERSION= 0.06 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -12,23 +14,29 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for generating random data +OPTIONS= DATE_CALC "Support for rand_date()" on \ + GD "Support for rand_image()" off + PERL_CONFIGURE= yes -.include <bsd.port.pre.mk> +MAN3= Data::Random.3 Data::Random::WordList.3 + +.include <bsd.port.options.mk> -# define WITHOUT_DATE_CALC to disable support for rand_date() .if !defined(WITHOUT_DATE_CALC) -EXTRA_DEPENDS+= ${SITE_PERL}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc +BUILD_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc +RUN_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc .endif -# define WITH_GD to enable support for rand_image() .if defined(WITH_GD) -EXTRA_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD +BUILD_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD +RUN_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD .endif -BUILD_DEPENDS+= ${EXTRA_DEPENDS} -RUN_DEPENDS+= ${EXTRA_DEPENDS} +.include <bsd.port.pre.mk> -MAN3= Data::Random.3 Data::Random::WordList.3 +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif .include <bsd.port.post.mk> diff --git a/devel/p5-Data-Random/distinfo b/devel/p5-Data-Random/distinfo index e83537fc86a0..ae407a618065 100644 --- a/devel/p5-Data-Random/distinfo +++ b/devel/p5-Data-Random/distinfo @@ -1,2 +1,2 @@ -SHA256 (Data-Random-0.05.tar.gz) = 1def0ac0147009d3ff07140a7cd6fb0672469af118b8eda530dcd15f21747362 -SIZE (Data-Random-0.05.tar.gz) = 147055 +SHA256 (Data-Random-0.06.tar.gz) = c9def0badf01dc2d182f44dea5c950baa7657e351faa954eb1142cd1e69b7c5f +SIZE (Data-Random-0.06.tar.gz) = 165081 |