aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Exception-Class/Makefile
blob: 922a2da72b5cbdeac335be935c74eb396e6cdde3 (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
# ex:ts=8
# New ports collection makefile for:    p5-Exception-Class
# Date created:         Jul 28, 2001
# Whom:                 ijliao
#
# $FreeBSD$
#

PORTNAME=   Exception-Class
PORTVERSION=    1.23
PORTREVISION=   1
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Exception
PKGNAMEPREFIX=  p5-

MAINTAINER= erwin@FreeBSD.org
COMMENT=    A module that allows you to declare real exception classes in Perl

BUILD_DEPENDS=  ${SITE_PERL}/Devel/StackTrace.pm:${PORTSDIR}/devel/p5-Devel-StackTrace \
        ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Exception::Class.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500702
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

.include <bsd.port.post.mk>