summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-22 08:40:33 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-22 08:40:33 +0000
commitc21967f445f87775df65c7e727f6b26ec8e6ba99 (patch)
tree8e8fd01cf58fd735d90adfb61a567b1d3405b6cf /textproc
parentAdd ruby-xmlscan, pure Ruby XML/HTML scanner and XPath (diff)
Add ruby-xslt, an XSLT processor in pure Ruby.
Notes
Notes: svn path=/head/; revision=46628
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-xslt/Makefile37
-rw-r--r--textproc/ruby-xslt/distinfo1
-rw-r--r--textproc/ruby-xslt/pkg-comment1
-rw-r--r--textproc/ruby-xslt/pkg-descr4
-rw-r--r--textproc/ruby-xslt/pkg-plist10
6 files changed, 54 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index babfe1732dde..62bc21c56a6d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -170,6 +170,7 @@
SUBDIR += ruby-sablot
SUBDIR += ruby-xmlparser
SUBDIR += ruby-xmlscan
+ SUBDIR += ruby-xslt
SUBDIR += rxp
SUBDIR += sablotron
SUBDIR += sarep
diff --git a/textproc/ruby-xslt/Makefile b/textproc/ruby-xslt/Makefile
new file mode 100644
index 000000000000..f953478976cd
--- /dev/null
+++ b/textproc/ruby-xslt/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: ruby-xmlscan
+# Date created: 22 August 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xslt
+PORTVERSION= 0.0.1
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.fantasy-coders.de/ruby/xslt4r/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}4r-${PORTVERSION:S/./_/g}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/xpathtree.rb:${PORTSDIR}/textproc/ruby-xmlscan
+
+USE_RUBY= yes
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/xslt.rb
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/xslt.rb ${RUBY_SITELIBDIR}/
+ ${LN} -sf ${RUBY_SITELIBDIR}/xslt.rb ${LOCALBASE}/bin/xslt
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/test/*.x* ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/ToDo ${RUBY_DOCDIR}/${PORTNAME}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-xslt/distinfo b/textproc/ruby-xslt/distinfo
new file mode 100644
index 000000000000..38e1efc3ddb7
--- /dev/null
+++ b/textproc/ruby-xslt/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/xslt4r-0_0_1.tar.gz) = b1805d4168c467870f7a6038abf226f6
diff --git a/textproc/ruby-xslt/pkg-comment b/textproc/ruby-xslt/pkg-comment
new file mode 100644
index 000000000000..e0d10d6320ee
--- /dev/null
+++ b/textproc/ruby-xslt/pkg-comment
@@ -0,0 +1 @@
+An XSLT processor in pure Ruby
diff --git a/textproc/ruby-xslt/pkg-descr b/textproc/ruby-xslt/pkg-descr
new file mode 100644
index 000000000000..1d48f36d5fe1
--- /dev/null
+++ b/textproc/ruby-xslt/pkg-descr
@@ -0,0 +1,4 @@
+This is XSLT4R, an XSLT processor in pure Ruby.
+
+Author: Michael Neumann <neumann@s-direktnet.de>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=XSLT4R
diff --git a/textproc/ruby-xslt/pkg-plist b/textproc/ruby-xslt/pkg-plist
new file mode 100644
index 000000000000..d4a56b77fa8c
--- /dev/null
+++ b/textproc/ruby-xslt/pkg-plist
@@ -0,0 +1,10 @@
+bin/xslt
+%%RUBY_SITELIBDIR%%/xslt.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/data.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/stylesheet.xsl
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/stylesheet2.xsl
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/test.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/test_style.xsl
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/xslt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/xslt/ToDo
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xslt