Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so)
42 lines
970 B
Makefile
42 lines
970 B
Makefile
# 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.06
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
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
|
|
|
|
MAN3= Data::Random.3 Data::Random::WordList.3
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !defined(WITHOUT_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
|
|
|
|
.if defined(WITH_GD)
|
|
BUILD_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
|
|
RUN_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501001
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|