aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Data-Random/Makefile
blob: ad5d8eefa660d9828a00fc8d9d4c26f4680a54e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl module for generating random data

PERL_CONFIGURE= yes

.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}

MAN3=       Data::Random.3 Data::Random::WordList.3

.include <bsd.port.post.mk>