aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2000-10-25 10:24:38 +0800
committerkuriyama <kuriyama@FreeBSD.org>2000-10-25 10:24:38 +0800
commit7739944e9cf429079f376157c23f8afd43ec1303 (patch)
tree4d14b753b4a52fd1f96589d0f36a9553b57c036e /textproc
parente4e359922a501f059c60f90d1fd6b0d15b4b4a54 (diff)
downloadfreebsd-ports-gnome-7739944e9cf429079f376157c23f8afd43ec1303.tar.gz
freebsd-ports-gnome-7739944e9cf429079f376157c23f8afd43ec1303.tar.zst
freebsd-ports-gnome-7739944e9cf429079f376157c23f8afd43ec1303.zip
Upgrade to 2.30 (which depends on expat2).
Submitted by: Naoki IDO <ido@hitachi-ms.co.jp>
Diffstat (limited to 'textproc')
-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