pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-Sablotron Import p5-XML-Sablotron from...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e10d1b522e5f
branches:  trunk
changeset: 475030:e10d1b522e5f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 09 05:20:25 2004 +0000

description:
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/.

diffstat:

 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(+), 0 deletions(-)

diffs (62 lines):

diff -r 9dc1a141d498 -r e10d1b522e5f textproc/p5-XML-Sablotron/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Sablotron/DESCR   Sun May 09 05:20:25 2004 +0000
@@ -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 -r 9dc1a141d498 -r e10d1b522e5f textproc/p5-XML-Sablotron/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Sablotron/Makefile        Sun May 09 05:20:25 2004 +0000
@@ -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@localhost
+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 -r 9dc1a141d498 -r e10d1b522e5f textproc/p5-XML-Sablotron/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Sablotron/PLIST   Sun May 09 05:20:25 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/09 05:20:25 minskim Exp $
diff -r 9dc1a141d498 -r e10d1b522e5f textproc/p5-XML-Sablotron/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Sablotron/distinfo        Sun May 09 05:20:25 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index