aboutsummaryrefslogtreecommitdiff
path: root/net/ruby-dict/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ruby-dict/Makefile')
-rw-r--r--net/ruby-dict/Makefile35
1 files changed, 35 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>