aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-Parser/Makefile17
-rw-r--r--textproc/p5-XML-Parser/distinfo4
2 files changed, 13 insertions, 8 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile
index f3a8f454e777..30fff26389ec 100644
--- a/textproc/p5-XML-Parser/Makefile
+++ b/textproc/p5-XML-Parser/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= XML-Parser
-PORTVERSION= 2.41
-PORTREVISION= 2
+PORTVERSION= 2.44
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -10,6 +9,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension interface to James Clark's XML parser, expat
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= perl5
@@ -27,17 +29,20 @@ EUCJP= "@comment "
.if !defined(XMLPARSER_SJIS)
SJIS= "@comment "
.endif
+.if defined(XMLPARSER_EUCJP) || defined(XMLPARSER_SJIS)
+USE_PERL5+= patch
+.endif
post-patch:
.if defined(XMLPARSER_EUCJP)
- @cd ${WRKSRC}/Parser/Encodings; \
+ cd ${WRKSRC}/Parser/Encodings; \
${CONV_ENC} euc-jp ${XMLPARSER_EUCJP}.enc > euc-jp.enc
- @${ECHO_CMD} Parser/Encodings/euc-jp.enc >> ${WRKSRC}/MANIFEST
+ ${ECHO_CMD} Parser/Encodings/euc-jp.enc >> ${WRKSRC}/MANIFEST
.endif
.if defined(XMLPARSER_SJIS)
- @cd ${WRKSRC}/Parser/Encodings; \
+ cd ${WRKSRC}/Parser/Encodings; \
${CONV_ENC} shift_jis ${XMLPARSER_SJIS}.enc > shift_jis.enc
- @${ECHO_CMD} Parser/Encodings/Shift_JIS.enc >> ${WRKSRC}/MANIFEST
+ ${ECHO_CMD} Parser/Encodings/Shift_JIS.enc >> ${WRKSRC}/MANIFEST
.endif
@${CP} ${FILESDIR}/*.enc ${WRKSRC}/Parser/Encodings/
.for e in 1 6 10 11 13 14 15
diff --git a/textproc/p5-XML-Parser/distinfo b/textproc/p5-XML-Parser/distinfo
index a1e19874fc72..6c793ada0a60 100644
--- a/textproc/p5-XML-Parser/distinfo
+++ b/textproc/p5-XML-Parser/distinfo
@@ -1,2 +1,2 @@
-SHA256 (XML-Parser-2.41.tar.gz) = b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de9
-SIZE (XML-Parser-2.41.tar.gz) = 238441
+SHA256 (XML-Parser-2.44.tar.gz) = 1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216
+SIZE (XML-Parser-2.44.tar.gz) = 237377