1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 0.42

- Add LICENSE
- Add TEST_DEPENDS
- Respect EXAMPLES
- Use USES=shebangfix

Changes:	http://search.cpan.org/dist/XML-TreePP/Changes
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-09 18:48:21 +00:00
parent c5191cee34
commit 4e41ba254c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333314
3 changed files with 18 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= XML-TreePP
PORTVERSION= 0.41
PORTVERSION= 0.42
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -10,9 +10,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Pure Perl implementation for parsing/writing xml files
USES= perl5
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-libwww>=5.811:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-HTTP-Lite>=0:${PORTSDIR}/www/p5-HTTP-Lite \
p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash
OPTIONS_DEFINE= EXAMPLES
USES= perl5 shebangfix
USE_PERL5= configure
SHEBANG_FILES= example/envxml.cgi
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example/envxml.cgi ${STAGEDIR}${EXAMPLESDIR}

View File

@ -1,2 +1,2 @@
SHA256 (XML-TreePP-0.41.tar.gz) = aa8cad67f10ee055ca0662f8e129fcea0322fa3b1da9ebd550d3094fea0d721e
SIZE (XML-TreePP-0.41.tar.gz) = 96333
SHA256 (XML-TreePP-0.42.tar.gz) = 24ec01289a1c4f34a2b1afb429a94c777e1cf48e7033fda8c28c3a1440e7f6f4
SIZE (XML-TreePP-0.42.tar.gz) = 89741

View File

@ -1,8 +1,8 @@
%%PERL5_MAN3%%/XML::TreePP.3.gz
%%SITE_PERL%%/XML/TreePP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/TreePP/.packlist
%%EXAMPLESDIR%%/envxml.cgi
@dirrmtry %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/envxml.cgi
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/TreePP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
@dirrmtry %%SITE_PERL%%/XML