Add ruby-xslt, an XSLT processor in pure Ruby.

This commit is contained in:
Akinori MUSHA 2001-08-22 08:40:33 +00:00
parent 187a8be20c
commit c21967f445
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46628
6 changed files with 54 additions and 0 deletions

View File

@ -170,6 +170,7 @@
SUBDIR += ruby-sablot
SUBDIR += ruby-xmlparser
SUBDIR += ruby-xmlscan
SUBDIR += ruby-xslt
SUBDIR += rxp
SUBDIR += sablotron
SUBDIR += sarep

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (ruby/xslt4r-0_0_1.tar.gz) = b1805d4168c467870f7a6038abf226f6

View File

@ -0,0 +1 @@
An XSLT processor in pure Ruby

View File

@ -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

View File

@ -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