aboutsummaryrefslogblamecommitdiff
path: root/devel/p5-Class-AutoClass/Makefile
blob: 9d01bd20caf4aaf68712a6bdb3548951e164ca8d (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                               
                    

                                        
                                     
                   

                                                



                                                                                           


                                                                         
 
                   
                                   

                                                                                    
 











                                                                                                                           
# 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=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Class/CCAVNOR
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=	yes
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

.if ${PERL_LEVEL} < 500800
IGNORE=	currently only supports Perl 5.8+.  This will hopefully change.  For now, please install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>