f0545828db
- Add LICENSE - Add TEST_DEPENDS - Convert to new options framework - Simplify Makefile Changes: http://search.cpan.org/dist/XML-RSS-LibXML/Changes
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= XML-RSS-LibXML
|
|
PORTVERSION= 0.31.03
|
|
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>
|