1998-11-14 19:44:34 +00:00
|
|
|
# New ports collection makefile for: XML::Parser
|
|
|
|
# Date created: 15 Nov 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
1998-11-14 19:44:34 +00:00
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1998-11-14 19:44:34 +00:00
|
|
|
#
|
|
|
|
|
2000-04-23 12:25:12 +00:00
|
|
|
PORTNAME= XML-Parser
|
2000-10-25 02:24:38 +00:00
|
|
|
PORTVERSION= 2.30
|
1998-11-14 19:44:34 +00:00
|
|
|
CATEGORIES= textproc perl5
|
1999-11-03 01:19:17 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
|
|
|
http://wwwx.netheaven.com/~coopercc/xmlparser/
|
2000-06-17 02:37:15 +00:00
|
|
|
MASTER_SITE_SUBDIR= XML
|
2000-04-23 12:25:12 +00:00
|
|
|
PKGNAMEPREFIX= p5-
|
2000-10-25 02:24:38 +00:00
|
|
|
DISTFILES= ${PORTNAME}.${PORTVERSION}.tar.gz
|
1998-11-14 19:44:34 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
1998-11-14 19:44:34 +00:00
|
|
|
|
2000-10-26 12:37:25 +00:00
|
|
|
LIB_DEPENDS= expat.2:${PORTSDIR}/textproc/expat2
|
2000-10-25 02:24:38 +00:00
|
|
|
|
2000-06-17 02:37:15 +00:00
|
|
|
USE_PERL5= yes
|
1998-11-14 19:44:34 +00:00
|
|
|
|
|
|
|
MAN3= XML::Parser.3 XML::Parser::Expat.3
|
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
|
|
|
|
do-configure:
|
2000-06-17 02:37:15 +00:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
|
2000-10-25 02:24:38 +00:00
|
|
|
CC="${CC}" CCFLAGS="${CFLAGS}" \
|
|
|
|
EXPATLIBPATH=${LOCALBASE}/lib EXPATINCPATH=${LOCALBASE}/include
|
2000-06-17 02:37:15 +00:00
|
|
|
@${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \
|
|
|
|
-e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile
|
1998-11-14 19:44:34 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|