2000-12-19 14:21:20 +01:00
|
|
|
# New ports collection makefile for: XML::Sablotron
|
|
|
|
# Date created: 13 Nov 2000
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XML-Sablotron
|
2003-07-14 19:02:56 +02:00
|
|
|
PORTVERSION= 0.98
|
2000-12-19 14:21:20 +01:00
|
|
|
CATEGORIES= textproc perl5
|
2003-03-04 15:26:59 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= XML
|
2000-12-19 14:21:20 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2002-01-23 21:20:24 +01:00
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-04 15:26:59 +01:00
|
|
|
COMMENT= A Perl interface to the Sablotron XSLT processor
|
2000-12-19 14:21:20 +01:00
|
|
|
|
2003-08-07 11:22:54 +02:00
|
|
|
BROKEN= Does not build
|
|
|
|
|
2003-03-04 15:26:59 +01:00
|
|
|
LIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron \
|
2002-03-18 10:46:46 +01:00
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv
|
2000-12-19 14:21:20 +01:00
|
|
|
|
2001-02-23 04:10:34 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2001-04-29 20:59:47 +02:00
|
|
|
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
|
2001-08-26 08:37:36 +02:00
|
|
|
INC='-I${LOCALBASE}/include' \
|
|
|
|
EXPATLIBPATH='${LOCALBASE}/lib' \
|
|
|
|
EXPATINCPATH='${LOCALBASE}/include' \
|
|
|
|
SABLOTLIBPATH='${LOCALBASE}/lib' \
|
|
|
|
SABLOTINCPATH='${LOCALBASE}/include'
|
|
|
|
|
2002-01-23 21:20:24 +01:00
|
|
|
MAN3= XML::Sablotron.3 XML::Sablotron::DOM.3 \
|
2003-07-14 19:02:56 +02:00
|
|
|
XML::Sablotron::DOM::DOMHandler.3 XML::Sablotron::SAXBuilder.3 \
|
|
|
|
XML::Sablotron::Situation::DOMHandlerDispatcher.3
|
2000-12-19 14:21:20 +01:00
|
|
|
|
2003-03-04 15:26:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
|
|
@${PERL} -pi -e 's/^our //; $$_="use vars qw(\$$libs \@extras);\n" if $$.==43' ${WRKSRC}/Makefile.PL
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|