aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-CSTA/Makefile
blob: 7f73c96ac162e01987e9f7784514a6d5119f29f7 (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
# New ports collection makefile for:    p5-Net-CSTA
# Date created:     2006-07-19
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Net-CSTA
PORTVERSION=    0.03
CATEGORIES= net perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-

MAINTAINER= gslin@gslin.org
COMMENT=    Perl extension for ECMA CSTA

RUN_DEPENDS=    ${SITE_PERL}/Convert/ASN1.pm:${PORTSDIR}/converters/p5-Convert-ASN1 \
        ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple

PERL_CONFIGURE= yes

MAN3=       Net::CSTA.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
.endif

.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+=   ${SITE_PERL}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif

.include <bsd.port.post.mk>