summaryrefslogtreecommitdiff
path: root/textproc
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
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>
Notes
Notes: svn path=/head/; revision=36120
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
7 files changed, 65 insertions, 0 deletions
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 <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
+