# New ports collection makefile for: XML::Sablotron # Date created: 13 Nov 2000 # Whom: Sergey Skvortsov # # $FreeBSD$ # PORTNAME= XML-Sablotron PORTVERSION= 0.96 CATEGORIES= textproc perl5 MASTER_SITES= http://download-2.gingerall.cz/download/sablot/ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org LIB_DEPENDS= sablot.69:${PORTSDIR}/textproc/sablotron \ iconv.3:${PORTSDIR}/converters/libiconv PERL_CONFIGURE= yes CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \ INC='-I${LOCALBASE}/include' \ EXPATLIBPATH='${LOCALBASE}/lib' \ EXPATINCPATH='${LOCALBASE}/include' \ SABLOTLIBPATH='${LOCALBASE}/lib' \ SABLOTINCPATH='${LOCALBASE}/include' post-patch: @${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' \ ${WRKSRC}/Sablotron/Makefile.PL @${PERL} -pi -e 's/^our /my /;' ${WRKSRC}/Makefile.PL MAN3= XML::Sablotron.3 XML::Sablotron::DOM.3 \ XML::Sablotron::SAXBuilder.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} .include