aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-dict
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-23 04:16:59 +0800
committerknu <knu@FreeBSD.org>2002-10-23 04:16:59 +0800
commit5973cfd9c6a370ca8d5d7d79fe1ec49a40d1aea3 (patch)
treefd3e328ba03b6e3005506177f406a7b4e0008c45 /net/ruby-dict
parente53cf46f13ede68cbab673568b9d33690dd5a98e (diff)
downloadfreebsd-ports-gnome-5973cfd9c6a370ca8d5d7d79fe1ec49a40d1aea3.tar.gz
freebsd-ports-gnome-5973cfd9c6a370ca8d5d7d79fe1ec49a40d1aea3.tar.zst
freebsd-ports-gnome-5973cfd9c6a370ca8d5d7d79fe1ec49a40d1aea3.zip
Add ruby-dict, a client-side implementation of the DICT protocol in
Ruby. PR: ports/43377 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'net/ruby-dict')
-rw-r--r--net/ruby-dict/Makefile35
-rw-r--r--net/ruby-dict/distinfo1
-rw-r--r--net/ruby-dict/pkg-comment1
-rw-r--r--net/ruby-dict/pkg-descr7
-rw-r--r--net/ruby-dict/pkg-plist6
5 files changed, 50 insertions, 0 deletions
diff --git a/net/ruby-dict/Makefile b/net/ruby-dict/Makefile
new file mode 100644
index 000000000000..bbc66243b19e
--- /dev/null
+++ b/net/ruby-dict/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Ruby/DICT
+# Date created: 26 September 2002
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dict
+PORTVERSION= 0.9.0
+CATEGORIES= net ruby
+MASTER_SITES= http://www.caliban.org/files/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= fuyuki@hadaly.org
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/rdict
+
+DOCS= README doc/dict.html doc/rdict.html
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rdict ${PREFIX}/bin/
+.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/net/ruby-dict/distinfo b/net/ruby-dict/distinfo
new file mode 100644
index 000000000000..c22e4ff94eb9
--- /dev/null
+++ b/net/ruby-dict/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-dict-0.9.0.tar.gz) = 1683cf7ea8fe23e7efe22a1995e06a4f
diff --git a/net/ruby-dict/pkg-comment b/net/ruby-dict/pkg-comment
new file mode 100644
index 000000000000..d573f48dc6bf
--- /dev/null
+++ b/net/ruby-dict/pkg-comment
@@ -0,0 +1 @@
+A client-side implementation of the DICT protocol in Ruby
diff --git a/net/ruby-dict/pkg-descr b/net/ruby-dict/pkg-descr
new file mode 100644
index 000000000000..b03171c860ee
--- /dev/null
+++ b/net/ruby-dict/pkg-descr
@@ -0,0 +1,7 @@
+Ruby/DICT is an RFC 2229 compliant client-side library implementation
+of the DICT protocol, written in the Ruby programming language. It
+can be used to write clients that access dictionary definitions from a
+set of natural language dictionary databases.
+
+Author: Ian Macdonald <ian@caliban.org>
+WWW: http://www.caliban.org/ruby/ruby-dict.shtml
diff --git a/net/ruby-dict/pkg-plist b/net/ruby-dict/pkg-plist
new file mode 100644
index 000000000000..2051845579a5
--- /dev/null
+++ b/net/ruby-dict/pkg-plist
@@ -0,0 +1,6 @@
+bin/rdict
+%%RUBY_SITELIBDIR%%/dict.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/dict.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rdict.html
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%