mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
1e60866cc1
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many miscellaneous modifications. I used more excessive hacks to force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS. Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
30 lines
725 B
Makefile
30 lines
725 B
Makefile
# New ports collection makefile for: XML::Parser
|
|
# Date created: 15 Nov 1998
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= XML-Parser
|
|
PORTVERSION= 2.28
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
|
http://wwwx.netheaven.com/~coopercc/xmlparser/
|
|
MASTER_SITE_SUBDIR= XML
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
|
|
USE_PERL5= yes
|
|
|
|
MAN3= XML::Parser.3 XML::Parser::Expat.3
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
|
|
CC="${CC}" CCFLAGS="${CFLAGS}"
|
|
@${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \
|
|
-e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile
|
|
|
|
.include <bsd.port.mk>
|