summaryrefslogtreecommitdiff
path: root/textproc/ruby-gdome
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-07-12 06:46:03 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-07-12 06:46:03 +0000
commit44f880fdf685dfe519e3ba1f88a418e0c133a477 (patch)
tree1ba1f31315d0033da16bbf06b2a7881e551ba374 /textproc/ruby-gdome
parentI forgot to add this patch in previous commit. (diff)
Add ruby-gdome, a Ruby extension that wraps around gdome2.
Notes
Notes: svn path=/head/; revision=45061
Diffstat (limited to 'textproc/ruby-gdome')
-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
5 files changed, 55 insertions, 0 deletions
diff --git a/textproc/ruby-gdome/Makefile b/textproc/ruby-gdome/Makefile
new file mode 100644
index 000000000000..cbd756b0050f
--- /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 000000000000..5df21a70978a
--- /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 000000000000..9552cbf6894a
--- /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 000000000000..ea7ff93a499e
--- /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 000000000000..255d4e760e6b
--- /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