aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Data-Random
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-07-07 18:04:37 +0800
committertobez <tobez@FreeBSD.org>2004-07-07 18:04:37 +0800
commitb6a52437ee006fc4bbfc1ad7d2c306cd8e4d1d39 (patch)
treed53e16d1ce16a69005f3af78ef4e280d28cffa09 /devel/p5-Data-Random
parent8a004787ab66d7fdc0976e8a555d2e53f2a8115e (diff)
downloadfreebsd-ports-gnome-b6a52437ee006fc4bbfc1ad7d2c306cd8e4d1d39.tar.gz
freebsd-ports-gnome-b6a52437ee006fc4bbfc1ad7d2c306cd8e4d1d39.tar.zst
freebsd-ports-gnome-b6a52437ee006fc4bbfc1ad7d2c306cd8e4d1d39.zip
Add devel/p5-Data-Random, a Perl module for generating random data.
Diffstat (limited to 'devel/p5-Data-Random')
-rw-r--r--devel/p5-Data-Random/Makefile35
-rw-r--r--devel/p5-Data-Random/distinfo2
-rw-r--r--devel/p5-Data-Random/pkg-descr3
-rw-r--r--devel/p5-Data-Random/pkg-plist8
4 files changed, 48 insertions, 0 deletions
diff --git a/devel/p5-Data-Random/Makefile b/devel/p5-Data-Random/Makefile
new file mode 100644
index 000000000000..26e50878a2f1
--- /dev/null
+++ b/devel/p5-Data-Random/Makefile
@@ -0,0 +1,35 @@
+# 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
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Data
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Perl module for generating random data
+
+.include <bsd.port.pre.mk>
+
+# define WITHOUT_DATE_CALC to disable support for rand_date()
+.if !defined(WITHOUT_DATE_CALC)
+EXTRA_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${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
+.endif
+
+BUILD_DEPENDS+= ${EXTRA_DEPENDS}
+RUN_DEPENDS+= ${EXTRA_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Data::Random.3 Data::Random::WordList.3
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Data-Random/distinfo b/devel/p5-Data-Random/distinfo
new file mode 100644
index 000000000000..ed522868142c
--- /dev/null
+++ b/devel/p5-Data-Random/distinfo
@@ -0,0 +1,2 @@
+MD5 (Data-Random-0.05.tar.gz) = 6c0233d074577771421d77712758d898
+SIZE (Data-Random-0.05.tar.gz) = 147055
diff --git a/devel/p5-Data-Random/pkg-descr b/devel/p5-Data-Random/pkg-descr
new file mode 100644
index 000000000000..2fb130e0e3ba
--- /dev/null
+++ b/devel/p5-Data-Random/pkg-descr
@@ -0,0 +1,3 @@
+A module used to generate random data. Useful mostly for test programs.
+
+WWW: http://search.cpan.org/search?dist=Data-Random
diff --git a/devel/p5-Data-Random/pkg-plist b/devel/p5-Data-Random/pkg-plist
new file mode 100644
index 000000000000..6b08ecb7b552
--- /dev/null
+++ b/devel/p5-Data-Random/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Random/.packlist
+%%SITE_PERL%%/Data/Random.pm
+%%SITE_PERL%%/Data/Random/WordList.pm
+%%SITE_PERL%%/Data/Random/dict
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Random
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Data/Random
+@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true