aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Parser
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2000-10-25 02:24:38 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2000-10-25 02:24:38 +0000
commit3fefaca9e9d3306fc0526045652285192d789d9c (patch)
tree312b6ef975fb6e08bff6f1f05646623719c6e9f7 /textproc/p5-XML-Parser
parent18eb8b0d2ac8db826f716332006c484b3c9ac017 (diff)
downloadports-3fefaca9e9d3306fc0526045652285192d789d9c.tar.gz
ports-3fefaca9e9d3306fc0526045652285192d789d9c.zip
Notes
Diffstat (limited to 'textproc/p5-XML-Parser')
-rw-r--r--textproc/p5-XML-Parser/Makefile8
-rw-r--r--textproc/p5-XML-Parser/distinfo2
2 files changed, 7 insertions, 3 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile
index df21f35f2853..7c8601265ede 100644
--- a/textproc/p5-XML-Parser/Makefile
+++ b/textproc/p5-XML-Parser/Makefile
@@ -6,15 +6,18 @@
#
PORTNAME= XML-Parser
-PORTVERSION= 2.29
+PORTVERSION= 2.30
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
http://wwwx.netheaven.com/~coopercc/xmlparser/
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
+DISTFILES= ${PORTNAME}.${PORTVERSION}.tar.gz
MAINTAINER= kuriyama@FreeBSD.org
+LIB_DEPENDS= expat.0:${PORTSDIR}/textproc/expat2
+
USE_PERL5= yes
MAN3= XML::Parser.3 XML::Parser::Expat.3
@@ -22,7 +25,8 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
- CC="${CC}" CCFLAGS="${CFLAGS}"
+ CC="${CC}" CCFLAGS="${CFLAGS}" \
+ EXPATLIBPATH=${LOCALBASE}/lib EXPATINCPATH=${LOCALBASE}/include
@${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \
-e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile
diff --git a/textproc/p5-XML-Parser/distinfo b/textproc/p5-XML-Parser/distinfo
index 359180d01c4b..cb11539491b4 100644
--- a/textproc/p5-XML-Parser/distinfo
+++ b/textproc/p5-XML-Parser/distinfo
@@ -1 +1 @@
-MD5 (XML-Parser-2.29.tar.gz) = ed0c4169356c454cb860341505a6c592
+MD5 (XML-Parser.2.30.tar.gz) = 1729859ea9db2718c86c23dfc2ab3c6f