summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Sablotron
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-19 13:21:20 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-19 13:21:20 +0000
commitf66b37bfdefec365e3bec762919fe96e9535b480 (patch)
tree1c0856b15b646d472a112a2d946db064d9a6c142 /textproc/p5-XML-Sablotron
parentAdd sablotron 0.44, an XSL processor fully implemented in C++. (diff)
Add p5-XML-Sablotron 0.44, a Perl interface to the Sablotron XSLT
processor. PR: 22805 Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'textproc/p5-XML-Sablotron')
-rw-r--r--textproc/p5-XML-Sablotron/Makefile33
-rw-r--r--textproc/p5-XML-Sablotron/distinfo1
-rw-r--r--textproc/p5-XML-Sablotron/files/patch-Makefile.PL19
-rw-r--r--textproc/p5-XML-Sablotron/pkg-comment1
-rw-r--r--textproc/p5-XML-Sablotron/pkg-descr3
-rw-r--r--textproc/p5-XML-Sablotron/pkg-plist7
6 files changed, 64 insertions, 0 deletions
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 <skv@protey.ru>
+#
+# $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 <bsd.port.mk>
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
+