summaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-LibXML
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-09-21 17:51:55 +0000
committerleeym <leeym@FreeBSD.org>2004-09-21 17:51:55 +0000
commitf00828aa67ae0e6342a4c8b1950ef573390c1e44 (patch)
treed3b00e070ca5039aa9b9b196c1cbd8b9d2468f06 /textproc/p5-XML-LibXML
parent284d0efb5e10f42d8a4fa2dfc5e93835aad4b793 (diff)
downloadFreeBSD-ports-f00828aa67ae0e6342a4c8b1950ef573390c1e44.zip
FreeBSD-ports-f00828aa67ae0e6342a4c8b1950ef573390c1e44.tar.gz
- add missing *.pod files into pkg-plist
- set XMLPREFIX=${LOCALBASE} and make it PREFIX clean. PR: 71108 Submitted by: leeym Approved by: portmgr (marcus)
Diffstat (limited to 'textproc/p5-XML-LibXML')
-rw-r--r--textproc/p5-XML-LibXML/Makefile6
-rw-r--r--textproc/p5-XML-LibXML/pkg-plist3
2 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-XML-LibXML/Makefile b/textproc/p5-XML-LibXML/Makefile
index 2013a3e..47d5ac9 100644
--- a/textproc/p5-XML-LibXML/Makefile
+++ b/textproc/p5-XML-LibXML/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-CONFIGURE_ENV= XMLPREFIX='${PREFIX}'
+CONFIGURE_ENV= XMLPREFIX=${LOCALBASE}
MAN3= XML::LibXML.3 XML::LibXML::Attr.3 XML::LibXML::Boolean.3 \
XML::LibXML::CDATASection.3 XML::LibXML::Comment.3 \
@@ -35,6 +35,10 @@ MAN3= XML::LibXML.3 XML::LibXML::Attr.3 XML::LibXML::Boolean.3 \
XML::LibXML::SAX::Builder.3 XML::LibXML::SAX::Generator.3 \
XML::LibXML::Text.3
+post-patch:
+ @${PERL} -pi -e 's,(-MXML::SAX),-I${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH} \1,g' \
+ ${WRKSRC}/Makefile.PL
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
diff --git a/textproc/p5-XML-LibXML/pkg-plist b/textproc/p5-XML-LibXML/pkg-plist
index cbb065f..c4afb81 100644
--- a/textproc/p5-XML-LibXML/pkg-plist
+++ b/textproc/p5-XML-LibXML/pkg-plist
@@ -1,5 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/LibXML/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/Attr.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/Boolean.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/CDATASection.pod
@@ -14,10 +15,12 @@
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/Node.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/NodeList.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/Number.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/Parser.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/PI.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/SAX.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/SAX.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/SAX/Builder.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/SAX/Builder.pod
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/SAX/Generator.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/SAX/Parser.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/LibXML/Text.pod
OpenPOWER on IntegriCloud