aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Luka/Makefile
blob: f395d5d588319cd20c19fe95de0f323b9c093151 (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
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    p5-Luka
# Date created:     2006-07-15
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Luka
PORTVERSION=    1.08
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/T/TP/TPG
PKGNAMEPREFIX=  p5-

MAINTAINER= gslin@gslin.org
COMMENT=    Exception handling and reporting framework

RUN_DEPENDS=    ${SITE_PERL}/Class/Std.pm:${PORTSDIR}/devel/p5-Class-Std \
        ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
        ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
        ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
        ${SITE_PERL}/Mail/SendEasy.pm:${PORTSDIR}/mail/p5-Mail-SendEasy \
        ${SITE_PERL}/Sub/Uplevel.pm:${PORTSDIR}/devel/p5-Sub-Uplevel \
        ${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \
        ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \
        ${SITE_PERL}/What/MTA.pm:${PORTSDIR}/net/p5-What
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Luka.3 Luka::Conf.3 Luka::Exceptions.3 Luka::Mailer.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600  # Inherited from many dependencies
IGNORE=     requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

.if ${PERL_LEVEL} < 500702
BUILD_DEPENDS+= ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net
.endif

.include <bsd.port.post.mk>