freebsd-ports/devel/p5-Data-Random/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

34 lines
856 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.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>