aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-22 16:40:33 +0800
committerknu <knu@FreeBSD.org>2001-08-22 16:40:33 +0800
commit75c89a7b35549fdba26158a8125fdbd74d83ff86 (patch)
tree5b9be795773ebdd10c69e459b2b53c3a013ed939 /textproc
parent0287139b0ae0b3a873bf03fb6d64f279797fc0a7 (diff)
downloadfreebsd-ports-gnome-75c89a7b35549fdba26158a8125fdbd74d83ff86.tar.gz
freebsd-ports-gnome-75c89a7b35549fdba26158a8125fdbd74d83ff86.tar.zst
freebsd-ports-gnome-75c89a7b35549fdba26158a8125fdbd74d83ff86.zip
Add ruby-xslt, an XSLT processor in pure Ruby.
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