From 7fbf421b5eee9c969678fb4db324494e2eb1fe5e Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 6 Feb 2003 12:51:57 +0000 Subject: Add ruby-xtemplate, a lightweight XML template engine for Ruby. --- textproc/ruby-xtemplate/Makefile | 42 +++++++++++++++ textproc/ruby-xtemplate/distinfo | 1 + textproc/ruby-xtemplate/pkg-comment | 1 + textproc/ruby-xtemplate/pkg-descr | 6 +++ textproc/ruby-xtemplate/pkg-plist | 101 ++++++++++++++++++++++++++++++++++++ 5 files changed, 151 insertions(+) create mode 100644 textproc/ruby-xtemplate/Makefile create mode 100644 textproc/ruby-xtemplate/distinfo create mode 100644 textproc/ruby-xtemplate/pkg-comment create mode 100644 textproc/ruby-xtemplate/pkg-descr create mode 100644 textproc/ruby-xtemplate/pkg-plist (limited to 'textproc/ruby-xtemplate') diff --git a/textproc/ruby-xtemplate/Makefile b/textproc/ruby-xtemplate/Makefile new file mode 100644 index 000000000000..227e3397ab03 --- /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 +# +# $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 diff --git a/textproc/ruby-xtemplate/distinfo b/textproc/ruby-xtemplate/distinfo new file mode 100644 index 000000000000..cab95f14473f --- /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 000000000000..0819740b09a8 --- /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 000000000000..4d3960a246c0 --- /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 +WWW: http://xtemplate.sourceforge.net/ diff --git a/textproc/ruby-xtemplate/pkg-plist b/textproc/ruby-xtemplate/pkg-plist new file mode 100644 index 000000000000..ccae8caa195f --- /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%% -- cgit v1.2.3