# Created by: Naram Qashat # $FreeBSD$ PORTNAME= SGML-Parser-OpenSP PORTVERSION= 0.994 PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Parse SGML documents using OpenSP BUILD_DEPENDS= onsgmls:${PORTSDIR}/textproc/opensp \ p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception RUN_DEPENDS:= ${BUILD_DEPENDS} USE_DOS2UNIX= yes USES= perl5 USE_PERL5= configure CC= ${CXX} CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include" MAN3= SGML::Parser::OpenSP.3 SGML::Parser::OpenSP::Tools.3 post-patch: (cd ${WRKSRC} ; \ ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|g" Makefile.PL ) .include