blob: 8924913b61587c9dc16d8d2f3838508c789d9e18 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# ex:ts=8
# Ports collection makefile for: p5-XML-Xerces
# Date created: Jan 19, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= XML-Xerces
PORTVERSION= 2.3.0.4
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= The Perl API to the Apache Xerces XML parser
LIB_DEPENDS= xerces-c.23:${PORTSDIR}/textproc/xerces-c2
PERL_CONFIGURE= yes
CONFIGURE_ENV= XERCES_INCLUDE=${LOCALBASE}/include \
XERCES_LIB=${LOCALBASE}/lib
USE_GMAKE= yes
post-patch:
@${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|" ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
|