From f66b37bfdefec365e3bec762919fe96e9535b480 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 19 Dec 2000 13:21:20 +0000 Subject: [PATCH] Add p5-XML-Sablotron 0.44, a Perl interface to the Sablotron XSLT processor. PR: 22805 Submitted by: Sergey Skvortsov --- textproc/Makefile | 1 + textproc/p5-XML-Sablotron/Makefile | 33 +++++++++++++++++++ textproc/p5-XML-Sablotron/distinfo | 1 + .../p5-XML-Sablotron/files/patch-Makefile.PL | 19 +++++++++++ textproc/p5-XML-Sablotron/pkg-comment | 1 + textproc/p5-XML-Sablotron/pkg-descr | 3 ++ textproc/p5-XML-Sablotron/pkg-plist | 7 ++++ 7 files changed, 65 insertions(+) create mode 100644 textproc/p5-XML-Sablotron/Makefile create mode 100644 textproc/p5-XML-Sablotron/distinfo create mode 100644 textproc/p5-XML-Sablotron/files/patch-Makefile.PL create mode 100644 textproc/p5-XML-Sablotron/pkg-comment create mode 100644 textproc/p5-XML-Sablotron/pkg-descr create mode 100644 textproc/p5-XML-Sablotron/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index b7182e77c8bc..8b3176f9dfed 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -72,6 +72,7 @@ SUBDIR += p5-XML-DOM SUBDIR += p5-XML-Parser SUBDIR += p5-XML-RSS + SUBDIR += p5-XML-Sablotron SUBDIR += p5-XML-Simple SUBDIR += p5-XML-Stream SUBDIR += p5-dTemplate diff --git a/textproc/p5-XML-Sablotron/Makefile b/textproc/p5-XML-Sablotron/Makefile new file mode 100644 index 000000000000..338e8bb32568 --- /dev/null +++ b/textproc/p5-XML-Sablotron/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: XML::Sablotron +# Date created: 13 Nov 2000 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= XML-Sablotron +PORTVERSION= 0.44 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@protey.ru + +LIB_DEPENDS= sablot.44:${PORTSDIR}/textproc/sablotron + +USE_PERL5= yes + +MAN3= XML::Sablotron.3 + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +do-configure: + @cd ${WRKSRC}; \ + ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL -d ${PREFIX} \ + PREFIX=${PREFIX} \ + CC="${CC}" \ + CCFLAGS="${CFLAGS}" \ + INSTALLSCRIPT=${PREFIX}/bin + +.include diff --git a/textproc/p5-XML-Sablotron/distinfo b/textproc/p5-XML-Sablotron/distinfo new file mode 100644 index 000000000000..68ce4480efa0 --- /dev/null +++ b/textproc/p5-XML-Sablotron/distinfo @@ -0,0 +1 @@ +MD5 (XML-Sablotron-0.44.tar.gz) = 2ceeba53eaaea9d0e6c199f3e4ded694 diff --git a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL new file mode 100644 index 000000000000..34a2396f2da5 --- /dev/null +++ b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL @@ -0,0 +1,19 @@ +*** Makefile.PL.orig Sun Nov 12 19:53:55 2000 +--- Makefile.PL Sun Nov 12 19:54:08 2000 +*************** +*** 58,64 **** + VERSION_FROM => 'Sablotron.pm', + DEFINE => '-DPERL_POLLUTE', + INC => $include, +! LIBS => ["$libpth -lsablot -lxmlparse -lxmltok"], + clean => {'FILES' => "log.xsl", }, + ); + +--- 58,64 ---- + VERSION_FROM => 'Sablotron.pm', + DEFINE => '-DPERL_POLLUTE', + INC => $include, +! LIBS => ["$libpth -lsablot -lexpat -lgcc"], + clean => {'FILES' => "log.xsl", }, + ); + diff --git a/textproc/p5-XML-Sablotron/pkg-comment b/textproc/p5-XML-Sablotron/pkg-comment new file mode 100644 index 000000000000..8c4807609589 --- /dev/null +++ b/textproc/p5-XML-Sablotron/pkg-comment @@ -0,0 +1 @@ +a Perl interface to the Sablotron XSLT processor diff --git a/textproc/p5-XML-Sablotron/pkg-descr b/textproc/p5-XML-Sablotron/pkg-descr new file mode 100644 index 000000000000..11e291c2f3f5 --- /dev/null +++ b/textproc/p5-XML-Sablotron/pkg-descr @@ -0,0 +1,3 @@ +a Perl interface to the Sablotron XSLT processor + +WWW: http://www.gingerall.com/ diff --git a/textproc/p5-XML-Sablotron/pkg-plist b/textproc/p5-XML-Sablotron/pkg-plist new file mode 100644 index 000000000000..968a35ae7c57 --- /dev/null +++ b/textproc/p5-XML-Sablotron/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Sablotron/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Sablotron/Sablotron.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Sablotron/Sablotron.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Sablotron.pm +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML 2>/dev/null || true +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Sablotron +