aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-xtemplate
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-06 20:51:57 +0800
committerknu <knu@FreeBSD.org>2003-02-06 20:51:57 +0800
commitf752f439d4738693a65625037f232fdf756950f1 (patch)
treeea60b45a317b997384e13b8871180a0b3856362d /textproc/ruby-xtemplate
parentf8ba411c80c0c47a00d363285de823ded4550fcc (diff)
downloadfreebsd-ports-graphics-f752f439d4738693a65625037f232fdf756950f1.tar.gz
freebsd-ports-graphics-f752f439d4738693a65625037f232fdf756950f1.tar.zst
freebsd-ports-graphics-f752f439d4738693a65625037f232fdf756950f1.zip
Add ruby-xtemplate, a lightweight XML template engine for Ruby.
Diffstat (limited to 'textproc/ruby-xtemplate')
-rw-r--r--textproc/ruby-xtemplate/Makefile42
-rw-r--r--textproc/ruby-xtemplate/distinfo1
-rw-r--r--textproc/ruby-xtemplate/pkg-comment1
-rw-r--r--textproc/ruby-xtemplate/pkg-descr6
-rw-r--r--textproc/ruby-xtemplate/pkg-plist101
5 files changed, 151 insertions, 0 deletions
diff --git a/textproc/ruby-xtemplate/Makefile b/textproc/ruby-xtemplate/Makefile
new file mode 100644
index 00000000000..227e3397ab0
--- /dev/null
+++ b/textproc/ruby-xtemplate/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Ruby/XTemplate
+# Date created: 6 February 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xtemplate
+PORTVERSION= 0.5.0
+CATEGORIES= textproc ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan
+# You can use REXML as an alternative to xmlscan:
+# ${RUBY_SITELIBDIR}/rexml/document.rb:${PORTSDIR}/textproc/ruby-rexml
+# YAML is supported optionally:
+# ${RUBY_SITELIBDIR}/yaml.rb:${PORTSDIR}/devel/ruby-yaml
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+CONFIGURE_ARGS= --with-ext
+
+DOCS_EN= CHANGES README STATUS TUTORIAL
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-xtemplate/distinfo b/textproc/ruby-xtemplate/distinfo
new file mode 100644
index 00000000000..cab95f14473
--- /dev/null
+++ b/textproc/ruby-xtemplate/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/xtemplate-0.5.0.tar.gz) = 4698583d4a12c9654b0fb54ef1af712a
diff --git a/textproc/ruby-xtemplate/pkg-comment b/textproc/ruby-xtemplate/pkg-comment
new file mode 100644
index 00000000000..0819740b09a
--- /dev/null
+++ b/textproc/ruby-xtemplate/pkg-comment
@@ -0,0 +1 @@
+A lightweight XML template engine for Ruby
diff --git a/textproc/ruby-xtemplate/pkg-descr b/textproc/ruby-xtemplate/pkg-descr
new file mode 100644
index 00000000000..4d3960a246c
--- /dev/null
+++ b/textproc/ruby-xtemplate/pkg-descr
@@ -0,0 +1,6 @@
+XTemplate is a lightweight XML template engine for Ruby. The idea of
+XTemplate comes from Amrita and XSLT. This template engine requires
+one of xmlscan and REXML as XML parser.
+
+Author: Takaaki Tateishi <ttate@users.sourceforge.net>
+WWW: http://xtemplate.sourceforge.net/
diff --git a/textproc/ruby-xtemplate/pkg-plist b/textproc/ruby-xtemplate/pkg-plist
new file mode 100644
index 00000000000..ccae8caa195
--- /dev/null
+++ b/textproc/ruby-xtemplate/pkg-plist
@@ -0,0 +1,101 @@
+bin/xtemplate
+%%RUBY_SITEARCHLIBDIR%%/xtemplate_ext.so
+%%RUBY_SITELIBDIR%%/xtemplate.rb
+%%RUBY_SITELIBDIR%%/xtemplate/dbi.rb
+%%RUBY_SITELIBDIR%%/xtemplate/hash.rb
+%%RUBY_SITELIBDIR%%/xtemplate/html.rb
+%%RUBY_SITELIBDIR%%/xtemplate/node.rb
+%%RUBY_SITELIBDIR%%/xtemplate/proc.rb
+%%RUBY_SITELIBDIR%%/xtemplate/text.rb
+%%RUBY_SITELIBDIR%%/xtemplate/util.rb
+%%RUBY_SITELIBDIR%%/xtemplate/xml.rb
+%%RUBY_SITELIBDIR%%/xtemplate/xpath.rb
+%%RUBY_SITELIBDIR%%/xtemplate/yaml.rb
+@dirrm %%RUBY_SITELIBDIR%%/xtemplate
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.dat
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.yml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample1.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample10.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample10.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample11.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample11.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample12.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample12.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample13.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample13.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample14.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample14.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample15.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample15.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample16.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample16.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample17.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample17.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample18.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample18.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample19.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample19.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample2.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample20.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample20.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample21.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample21.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample22.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample22.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample23.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample23.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample24.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample24.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample25.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample25.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample26.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample26.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample27.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample27.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample28.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample28.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample29.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample29.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample3.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample3.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample30.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample30.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample31.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample31.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample4.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample4.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample5.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample5.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample6.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample6.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample7.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample7.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample8.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample8.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample9.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample9.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleX1.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleX1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleX2.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleX2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleX3.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleX3.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleY1.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleY1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleY2.out
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sampleY2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/speed_am1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/speed_am2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/speed_xt1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/speed_xt2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xpath.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/STATUS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TUTORIAL
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%