From 75c89a7b35549fdba26158a8125fdbd74d83ff86 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 22 Aug 2001 08:40:33 +0000 Subject: Add ruby-xslt, an XSLT processor in pure Ruby. --- textproc/Makefile | 1 + textproc/ruby-xslt/Makefile | 37 +++++++++++++++++++++++++++++++++++++ textproc/ruby-xslt/distinfo | 1 + textproc/ruby-xslt/pkg-comment | 1 + textproc/ruby-xslt/pkg-descr | 4 ++++ textproc/ruby-xslt/pkg-plist | 10 ++++++++++ 6 files changed, 54 insertions(+) create mode 100644 textproc/ruby-xslt/Makefile create mode 100644 textproc/ruby-xslt/distinfo create mode 100644 textproc/ruby-xslt/pkg-comment create mode 100644 textproc/ruby-xslt/pkg-descr create mode 100644 textproc/ruby-xslt/pkg-plist (limited to 'textproc') 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 +# +# $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 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 +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 -- cgit