summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-12 06:46:03 +0000
committerknu <knu@FreeBSD.org>2001-07-12 06:46:03 +0000
commitf44f64eaa793e7eec7945fc935a075ba7be6b370 (patch)
treefdc20ee31b24668e5ca8ca26c944023d063e7684 /textproc
parentaa63add5a7eaa749931d9c228510c6fe0f7f507f (diff)
downloadFreeBSD-ports-f44f64eaa793e7eec7945fc935a075ba7be6b370.zip
FreeBSD-ports-f44f64eaa793e7eec7945fc935a075ba7be6b370.tar.gz
Add ruby-gdome, a Ruby extension that wraps around gdome2.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-gdome/Makefile33
-rw-r--r--textproc/ruby-gdome/distinfo1
-rw-r--r--textproc/ruby-gdome/pkg-comment1
-rw-r--r--textproc/ruby-gdome/pkg-descr7
-rw-r--r--textproc/ruby-gdome/pkg-plist13
6 files changed, 56 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c63692a..972c12a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -153,6 +153,7 @@
SUBDIR += rman
SUBDIR += ruby-csv
SUBDIR += ruby-erb
+ SUBDIR += ruby-gdome
SUBDIR += ruby-html-parser
SUBDIR += ruby-nqxml
SUBDIR += ruby-qt2xml
diff --git a/textproc/ruby-gdome/Makefile b/textproc/ruby-gdome/Makefile
new file mode 100644
index 0000000..cbd756b
--- /dev/null
+++ b/textproc/ruby-gdome/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libgdome-ruby
+# Date created: 12 July 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdome
+PORTVERSION= 0.1
+CATEGORIES= textproc ruby
+MASTER_SITES= http://download.berlios.de/libgdome-ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= lib${PORTNAME}-ruby-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= gdome.6:${PORTSDIR}/textproc/gdome2
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-gdome/distinfo b/textproc/ruby-gdome/distinfo
new file mode 100644
index 0000000..5df21a7
--- /dev/null
+++ b/textproc/ruby-gdome/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/libgdome-ruby-0.1.tar.gz) = e3fefd62ebeb1b0c4b1c3f396777c850
diff --git a/textproc/ruby-gdome/pkg-comment b/textproc/ruby-gdome/pkg-comment
new file mode 100644
index 0000000..9552cbf
--- /dev/null
+++ b/textproc/ruby-gdome/pkg-comment
@@ -0,0 +1 @@
+A Ruby extension that wraps around gdome2
diff --git a/textproc/ruby-gdome/pkg-descr b/textproc/ruby-gdome/pkg-descr
new file mode 100644
index 0000000..ea7ff93
--- /dev/null
+++ b/textproc/ruby-gdome/pkg-descr
@@ -0,0 +1,7 @@
+libgdome-ruby is a ruby extension that provides the DOM level 2 Core
+API for accessing XML documents.
+
+It is implemented as a wrapper around the C library gdome2.
+
+Author: Tobias Peters <t-peters@berlios.de>
+WWW: http://libgdome-ruby.berlios.de/
diff --git a/textproc/ruby-gdome/pkg-plist b/textproc/ruby-gdome/pkg-plist
new file mode 100644
index 0000000..255d4e7
--- /dev/null
+++ b/textproc/ruby-gdome/pkg-plist
@@ -0,0 +1,13 @@
+%%RUBY_SITEARCHLIBDIR%%/gdome.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/examplea.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/exampleb.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/exampleb.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/examplec.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/examplec.xml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/test-cdata.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/test-dtd.dtd
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/test-dtd.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gdome/test-dtd.xml
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gdome
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gdome/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gdome
OpenPOWER on IntegriCloud