freebsd-ports/devel/p5-Exception-Class/Makefile
Maxim Sobolev 1f5a001008 If perl-5.8.0 is the main perl istalled don't depend on modules already in
the base distribution.

Sponsored by:	Porta Software Ltd.
2003-02-24 21:41:13 +00:00

34 lines
961 B
Makefile

# ex:ts=8
# New ports collection makefile for: p5-Exception-Class
# Date created: Jul 28, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= Exception-Class
PORTVERSION= 1.11
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Exception
PKGNAMEPREFIX= p5-
MAINTAINER= erwin@lansing.dk
COMMENT= A module that allows you to declare real exception classes in Perl
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Devel/StackTrace.pm:${PORTSDIR}/devel/p5-Devel-StackTrace \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Exception::Class.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>