aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-RSS-LibXML/Makefile
blob: 612c04418d41bc42ed477dcd6de715cda028c112 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   XML-RSS-LibXML
PORTVERSION=    0.31.03
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER= perl@FreeBSD.org
COMMENT=    XML::RSS with XML::LibXML

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
        p5-DateTime-Format-Mail>=0:${PORTSDIR}/devel/p5-DateTime-Format-Mail \
        p5-DateTime-Format-W3CDTF>=0:${PORTSDIR}/devel/p5-DateTime-Format-W3CDTF \
        p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require \
        p5-XML-LibXML>=1.66:${PORTSDIR}/textproc/p5-XML-LibXML
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \
        p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
        p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn

OPTIONS_DEFINE= EXAMPLES

USES=       perl5
USE_PERL5=  modbuild

PORTEXAMPLES=   benchmark.pl

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_SCRIPT} ${WRKSRC}/tools/benchmark.pl ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>