freebsd-ports/devel/p5-Class-AutoClass/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

36 lines
1,013 B
Makefile

# vim:ts=8
# New ports collection makefile for: p5-Class-AutoClass
# Date created: 25 November 2004
# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
#
# $FreeBSD$
#
PORTNAME= Class-AutoClass
PORTVERSION= 1.01
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= autoclass_v${PORTVERSION:S/./_/}
EXTRACT_SUFX= .tgz
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= Automatically define simple get and set methods in an inheritance structure
RUN_DEPENDS= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Test/Deep.pm:${PORTSDIR}/devel/p5-Test-Deep
PERL_CONFIGURE= 5.8.0+
WRKSRC= ${WRKDIR}/AutoClass
MAN3= Class::AutoClass::Root.3 Class::AutoClass.3 Class::AutoClass::Args.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
.endif
.include <bsd.port.post.mk>