aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Atom/Makefile
blob: b99e2906664b8734af6b91ba4e71e271b7e8c396 (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
44
45
46
47
# New ports collection makefile for:    p5-XML-Atom
# Date created:             Dec 27 2003
# Whom:                 Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#

PORTNAME=   XML-Atom
PORTVERSION=    0.10
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Perl5 modules for Atom feed and API implementation

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
    ${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT \
    ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
    ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
    ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
    ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
    ${SITE_PERL}/LWP/Authen/Wsse.pm:${PORTSDIR}/www/p5-LWP-Authen-Wsse \
    ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_MODBUILD=  yes

MAN3=       XML::Atom.3 \
        XML::Atom::Client.3 \
        XML::Atom::Entry.3 \
        XML::Atom::Feed.3 \
        XML::Atom::Person.3 \
        XML::Atom::Server.3 \
        XML::Atom::Util.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500805
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif
.if ${PERL_LEVEL} < 500601
IGNORE=     This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif

.include <bsd.port.post.mk>