aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-SAX-ExpatXS
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-07 11:52:41 +0800
committervanilla <vanilla@FreeBSD.org>2013-11-07 11:52:41 +0800
commit5c03473a6f9bc50d15d9d0f975242e2a1a36d3d6 (patch)
tree36786afbdfb0f0368eaca996fb006935240c6493 /textproc/p5-XML-SAX-ExpatXS
parentaa7203bfe36ea4c6977d938d04e68f98ab231647 (diff)
downloadfreebsd-ports-gnome-5c03473a6f9bc50d15d9d0f975242e2a1a36d3d6.tar.gz
freebsd-ports-gnome-5c03473a6f9bc50d15d9d0f975242e2a1a36d3d6.tar.zst
freebsd-ports-gnome-5c03473a6f9bc50d15d9d0f975242e2a1a36d3d6.zip
Support STAGEDIR.
Diffstat (limited to 'textproc/p5-XML-SAX-ExpatXS')
-rw-r--r--textproc/p5-XML-SAX-ExpatXS/Makefile10
-rw-r--r--textproc/p5-XML-SAX-ExpatXS/files/patch-Makefile.PL11
-rw-r--r--textproc/p5-XML-SAX-ExpatXS/pkg-plist13
3 files changed, 22 insertions, 12 deletions
diff --git a/textproc/p5-XML-SAX-ExpatXS/Makefile b/textproc/p5-XML-SAX-ExpatXS/Makefile
index 7c8c336ad9b9..8f2e46477502 100644
--- a/textproc/p5-XML-SAX-ExpatXS/Makefile
+++ b/textproc/p5-XML-SAX-ExpatXS/Makefile
@@ -10,17 +10,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= PerlSAX2 XS extension to Expat parser
-RUN_DEPENDS= p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX
-LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
CONFIGURE_ARGS= EXPATLIBPATH=${LOCALBASE}/lib \
EXPATINCPATH=${LOCALBASE}/include </dev/null
-MAN3= XML::SAX::ExpatXS.3 XML::SAX::ExpatXS::Encoding.3 \
- XML::SAX::ExpatXS::Preload.3
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-SAX-ExpatXS/files/patch-Makefile.PL b/textproc/p5-XML-SAX-ExpatXS/files/patch-Makefile.PL
new file mode 100644
index 000000000000..b83f3b18211f
--- /dev/null
+++ b/textproc/p5-XML-SAX-ExpatXS/files/patch-Makefile.PL
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig 2013-11-07 09:32:26.000000000 +0800
++++ Makefile.PL 2013-11-07 09:32:53.000000000 +0800
+@@ -111,7 +111,7 @@ sub MY::install {
+ $script .= <<"INSTALL";
+
+ install_expat_xs :
+-\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()"
++\t\@\$(PERL) -I\$(DESTDIR)\$(INSTALLSITELIB)/mach -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()"
+
+ INSTALL
+
diff --git a/textproc/p5-XML-SAX-ExpatXS/pkg-plist b/textproc/p5-XML-SAX-ExpatXS/pkg-plist
index 97e7b48bc9cc..c1c6a5070344 100644
--- a/textproc/p5-XML-SAX-ExpatXS/pkg-plist
+++ b/textproc/p5-XML-SAX-ExpatXS/pkg-plist
@@ -1,3 +1,6 @@
+%%PERL5_MAN3%%/XML::SAX::ExpatXS.3.gz
+%%PERL5_MAN3%%/XML::SAX::ExpatXS::Encoding.3.gz
+%%PERL5_MAN3%%/XML::SAX::ExpatXS::Preload.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encoding.pm
%%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings/big5.enc
@@ -21,10 +24,10 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS/ExpatXS.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS/ExpatXS.so
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/ExpatXS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS/Encodings
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX/ExpatXS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML/SAX
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/XML