Index: head/textproc/p5-SGML-Parser-OpenSP/Makefile =================================================================== --- head/textproc/p5-SGML-Parser-OpenSP/Makefile (revision 250676) +++ head/textproc/p5-SGML-Parser-OpenSP/Makefile (revision 250677) @@ -1,29 +1,34 @@ # New ports collection makefile for: p5-SGML-Parser-OpenSP # Date created: 27 August 2007 # Whom: Naram Qashat # # $FreeBSD$ # PORTNAME= SGML-Parser-OpenSP PORTVERSION= 0.994 -PORTREVISION= 1 +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-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception RUN_DEPENDS= ${BUILD_DEPENDS} USE_DOS2UNIX= yes PERL_CONFIGURE= yes CC= ${CXX} -CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include -I${LOCALBASE}/lib" +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 Property changes on: head/textproc/p5-SGML-Parser-OpenSP/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL =================================================================== --- head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL (revision 250676) +++ head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL (revision 250677) @@ -1,13 +1,22 @@ ---- Makefile.PL.orig 2007-07-29 03:05:27.000000000 +0800 -+++ Makefile.PL 2007-07-29 03:06:38.000000000 +0800 +--- Makefile.PL.orig 2010-02-07 23:33:39.000000000 +0900 ++++ Makefile.PL 2010-02-07 23:34:03.000000000 +0900 +@@ -15,7 +15,7 @@ + # assume some compatible Linux + $options{LD} = "g++"; + $options{CC} = "g++"; +- $options{LIBS} = "-lstdc++ -losp"; ++ $options{LIBS} = "-L%%LOCALBASE%%/lib -lstdc++ -losp"; + } + + WriteMakefile( @@ -26,6 +26,10 @@ Test::Exception => 0, File::Temp => 0, }, + PM => { + 'lib/SGML/Parser/OpenSP.pm' => '$(INST_LIB)/SGML/Parser/OpenSP.pm', + 'lib/SGML/Parser/OpenSP/Tools.pm' => '$(INST_LIB)/SGML/Parser/OpenSP/Tools.pm' + }, ($] >= 5.005 ? (ABSTRACT_FROM => 'lib/SGML/Parser/OpenSP.pm', AUTHOR => 'Bjoern Hoehrmann ') : ()), Property changes on: head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property