diff options
author | knu <knu@FreeBSD.org> | 2003-09-10 09:54:55 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-09-10 09:54:55 +0000 |
commit | 5fd30da4c7a48dd671cc6330c98e32bc9e8fc55a (patch) | |
tree | ae250f147fd4afa12f5d0ea33499b61551b1811a | |
parent | 9aaf88651f209a2349393b865fe693aee35ce174 (diff) | |
download | FreeBSD-ports-5fd30da4c7a48dd671cc6330c98e32bc9e8fc55a.zip FreeBSD-ports-5fd30da4c7a48dd671cc6330c98e32bc9e8fc55a.tar.gz |
Add ruby-quixml, a Fast XML API for Ruby written in C.
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/ruby-quixml/Makefile | 35 | ||||
-rw-r--r-- | textproc/ruby-quixml/distinfo | 1 | ||||
-rw-r--r-- | textproc/ruby-quixml/pkg-descr | 15 | ||||
-rw-r--r-- | textproc/ruby-quixml/pkg-plist | 7 |
5 files changed, 59 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 8cfbc26..e40487d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -370,6 +370,7 @@ SUBDIR += ruby-libxslt SUBDIR += ruby-mwdom SUBDIR += ruby-nqxml + SUBDIR += ruby-quixml SUBDIR += ruby-raspell SUBDIR += ruby-rd-mode.el SUBDIR += ruby-rdoc diff --git a/textproc/ruby-quixml/Makefile b/textproc/ruby-quixml/Makefile new file mode 100644 index 0000000..f725e26 --- /dev/null +++ b/textproc/ruby-quixml/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: ruby-quixml +# Date created: 10 September 2003 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= quixml +PORTVERSION= 0.2.1 +CATEGORIES= textproc ruby +MASTER_SITES= http://rubyforge.org/download.php/89/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org +COMMENT= A Fast XML API for Ruby written in C + +LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +INSTALL_TARGET= site-install + +DOCS= BUGS DOC.html CHANGELOG README TODO + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/textproc/ruby-quixml/distinfo b/textproc/ruby-quixml/distinfo new file mode 100644 index 0000000..bb38411 --- /dev/null +++ b/textproc/ruby-quixml/distinfo @@ -0,0 +1 @@ +MD5 (ruby/quixml-0.2.1.tar.gz) = 42eb7ec86e5e3753c9238b618d44ec75 diff --git a/textproc/ruby-quixml/pkg-descr b/textproc/ruby-quixml/pkg-descr new file mode 100644 index 0000000..0f04992 --- /dev/null +++ b/textproc/ruby-quixml/pkg-descr @@ -0,0 +1,15 @@ +QuiXML is an XML library for Ruby written in C, utilizing the expat +library for parsing XML string buffers. It uses only Ruby native data +structures to store its XML data internally, so how they are generated +is completely open. The library both parses and generates XML, +precisely or with pretty printing and automatic encoding/decoding +special characters (<, >, &, ', and "). Transmutations to/from +attribute string values and Ruby objects can occur when +reading/writing XML, allowing for a limited degree of object +marshalling. Element path addressing makes it easy to find one or +more nodes using literal strings, regular expressions or any other +object which supports Ruby case-equality to match against XML node +names and attributes. + +Author: sdodell <sean@celsoft.com> +WWW: http://quixml.rubyforge.org/ diff --git a/textproc/ruby-quixml/pkg-plist b/textproc/ruby-quixml/pkg-plist new file mode 100644 index 0000000..85d11a9 --- /dev/null +++ b/textproc/ruby-quixml/pkg-plist @@ -0,0 +1,7 @@ +%%RUBY_SITEARCHLIBDIR%%/quixml.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/BUGS +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/DOC.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |