From 9133638c8df3a6d961466f51fe4c61391d2b6fd1 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 9 May 2004 05:20:25 +0000 Subject: 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/. --- textproc/p5-XML-Sablotron/DESCR | 4 ++++ textproc/p5-XML-Sablotron/Makefile | 37 +++++++++++++++++++++++++++++++++++++ textproc/p5-XML-Sablotron/PLIST | 1 + textproc/p5-XML-Sablotron/distinfo | 4 ++++ 4 files changed, 46 insertions(+) create mode 100644 textproc/p5-XML-Sablotron/DESCR create mode 100644 textproc/p5-XML-Sablotron/Makefile create mode 100644 textproc/p5-XML-Sablotron/PLIST create mode 100644 textproc/p5-XML-Sablotron/distinfo (limited to 'textproc') 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 -- cgit v1.2.3