aboutsummaryrefslogtreecommitdiffstats
path: root/comms/p5-SMS-Send/Makefile
blob: 49ba3868996c4b70776a4c4fc0f6305d5dc1ae4b (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
# New ports collection makefile for:    p5-SMS-Send
# Date created:     2006-08-26
# Whom:         Tsung-Han Yeh <snowfly@yuntech.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   SMS-Send
PORTVERSION=    0.03
CATEGORIES= comms perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
#MASTER_SITE_SUBDIR=    CPAN/ADAMK
MASTER_SITE_SUBDIR= SMS
PKGNAMEPREFIX=  p5-

MAINTAINER= snowfly@yuntech.edu.tw
COMMENT=    Driver-based API for sending SMS messages

RUN_DEPENDS=    ${SITE_PERL}/Class/Adapter.pm:${PORTSDIR}/devel/p5-Class-Adapter \
        ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
        ${SITE_PERL}/Params/Util.pm:${PORTSDIR}/devel/p5-Params-Util
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       SMS::Send.3 \
        SMS::Send::AU::Test.3 \
        SMS::Send::Driver.3 \
        SMS::Send::Test.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
RUN_DEPENDS+=   ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
.endif

.if ${PERL_LEVEL} < 500600
IGNORE=     requires perl 5.6.0 due to dependency. Install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>