aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Atom-Syndication/Makefile
blob: 5bdd92acf9388ff5a8b35626fac3384bdedfbbb8 (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
48
49
# New ports collection makefile for:    p5-XML-Atom-Syndication
# Date created:             2003-05-23
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   XML-Atom-Syndication
PORTVERSION=    0.94
PORTEPOCH=  1
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Simple lightweight client for consuming Atom syndication feeds

RUN_DEPENDS=    ${SITE_PERL}/XML/Elemental.pm:${PORTSDIR}/textproc/p5-XML-Elemental \
        ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
        ${SITE_PERL}/Class/ErrorHandler.pm:${PORTSDIR}/devel/p5-Class-ErrorHandler \
        ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer
BUILD_DEPENDS=  ${RUN_DEPENDS}
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple

PERL_CONFIGURE= yes

MAN3=   XML::Atom::Syndication.3 \
    XML::Atom::Syndication::Category.3 \
    XML::Atom::Syndication::Content.3 \
    XML::Atom::Syndication::Entry.3 \
    XML::Atom::Syndication::Feed.3 \
    XML::Atom::Syndication::Generator.3 \
    XML::Atom::Syndication::Link.3 \
    XML::Atom::Syndication::Object.3 \
    XML::Atom::Syndication::Person.3 \
    XML::Atom::Syndication::Source.3 \
    XML::Atom::Syndication::Text.3 \
    XML::Atom::Syndication::Writer.3

post-patch:
    ${FIND} ${WRKSRC} -name '._*' -delete

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600 # inherited from p5-XML-Elemental
IGNORE= requires at least Perl 5.6.  Please install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>