summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-05-09 05:20:25 +0000
committerminskim <minskim@pkgsrc.org>2004-05-09 05:20:25 +0000
commit9d7f06e711790e79fab292b86244eab25e159086 (patch)
treeeeffbf0e137fd23b466c09d2686add098a2af7b2
parent9ea07c1e2faa6a27ef5ec545d0c9cc2875fd6526 (diff)
downloadpkgsrc-9d7f06e711790e79fab292b86244eab25e159086.tar.gz
Import p5-XML-Sablotron from pkgsrc-wip. Packaged by Adam Migus and
modified by me. This perl module is encapsulation of the XSLT processor called Sablotron (textproc/sablotron). If you don't know what is XSLT, look at http://www.w3.org/ site. If you don't know what is Sablotron, look at http://www.gingerall.com/.
-rw-r--r--textproc/p5-XML-Sablotron/DESCR4
-rw-r--r--textproc/p5-XML-Sablotron/Makefile37
-rw-r--r--textproc/p5-XML-Sablotron/PLIST1
-rw-r--r--textproc/p5-XML-Sablotron/distinfo4
4 files changed, 46 insertions, 0 deletions
diff --git a/textproc/p5-XML-Sablotron/DESCR b/textproc/p5-XML-Sablotron/DESCR
new file mode 100644
index 00000000000..5f2b29aa2eb
--- /dev/null
+++ b/textproc/p5-XML-Sablotron/DESCR
@@ -0,0 +1,4 @@
+This perl module is encapsulation of the XSLT processor called
+Sablotron (textproc/sablotron). If you don't know what is XSLT, look
+at http://www.w3.org/ site. If you don't know what is Sablotron, look
+at http://www.gingerall.com/.
diff --git a/textproc/p5-XML-Sablotron/Makefile b/textproc/p5-XML-Sablotron/Makefile
new file mode 100644
index 00000000000..488412b28d8
--- /dev/null
+++ b/textproc/p5-XML-Sablotron/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/09 05:20:25 minskim Exp $
+
+DISTNAME= XML-Sablotron-0.98
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5xsb
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER= adam@migus.org
+HOMEPAGE= http://www.gingerall.com/charlie/ga/xml/p_sab.xml
+COMMENT= Perl interface to the Sablotron XSLT processor
+
+DEPENDS+= p5-XML-DOM>=1.25:../../textproc/p5-XML-DOM
+DEPENDS+= p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser
+
+EXPATLIBPATH= ${BUILDLINK_PREFIX.expat}/lib
+EXPATINCPATH= ${BUILDLINK_PREFIX.expat}/include
+SABLOTLIBPATH= ${BUILDLINK_PREFIX.sablotron}/lib
+SABLOTINCPATH= ${BUILDLINK_PREFIX.sablotron}/include
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Sablotron/.packlist
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/sablotron/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+
+post-patch:
+ @${MV} ${WRKSRC}/Makefile.PL ${WRKSRC}/Makefile.PL.orig
+ @${SED} \
+ -e "s|^\(my \$$expat_libpath = '\)\(';\)$$|\1${EXPATLIBPATH}\2|" \
+ -e "s|^\(my \$$expat_incpath = '\)\(';\)$$|\1${EXPATINCPATH}\2|" \
+ -e "s|^\(my \$$sablot_libpath = '\)\(';\)$$|\1${SABLOTLIBPATH}\2|" \
+ -e "s|^\(my \$$sablot_incpath = '\)\(';\)$$|\1${SABLOTINCPATH}\2|" \
+ ${WRKSRC}/Makefile.PL.orig > ${WRKSRC}/Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Sablotron/PLIST b/textproc/p5-XML-Sablotron/PLIST
new file mode 100644
index 00000000000..32a91b6c974
--- /dev/null
+++ b/textproc/p5-XML-Sablotron/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/09 05:20:25 minskim Exp $
diff --git a/textproc/p5-XML-Sablotron/distinfo b/textproc/p5-XML-Sablotron/distinfo
new file mode 100644
index 00000000000..32fd45ff786
--- /dev/null
+++ b/textproc/p5-XML-Sablotron/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/05/09 05:20:25 minskim Exp $
+
+SHA1 (XML-Sablotron-0.98.tar.gz) = 6cd176b808fd712beab009e9996ddc3c87af1795
+Size (XML-Sablotron-0.98.tar.gz) = 52726 bytes