aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ruby-romkan/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-01 17:41:05 +0800
committerknu <knu@FreeBSD.org>2001-05-01 17:41:05 +0800
commit4c325c93345971c78c71d23f8f4c124a2733bfd6 (patch)
tree410e129423fefd5f39c81f5d33522d961ac42077 /japanese/ruby-romkan/Makefile
parentcab14163775359712139b9537b6fe886052276d7 (diff)
downloadfreebsd-ports-gnome-4c325c93345971c78c71d23f8f4c124a2733bfd6.tar.gz
freebsd-ports-gnome-4c325c93345971c78c71d23f8f4c124a2733bfd6.tar.zst
freebsd-ports-gnome-4c325c93345971c78c71d23f8f4c124a2733bfd6.zip
Add ja-ruby-romkan, a Romaji <-> Kana conversion library for Ruby.
Diffstat (limited to 'japanese/ruby-romkan/Makefile')
-rw-r--r--japanese/ruby-romkan/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile
new file mode 100644
index 000000000000..9447ec5d2341
--- /dev/null
+++ b/japanese/ruby-romkan/Makefile
@@ -0,0 +1,45 @@
+# Ports collection makefile for: Ruby/Romkan
+# Date created: 1 May 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= romkan
+PORTVERSION= 0.1
+CATEGORIES= japanese converters ruby
+MASTER_SITES= http://namazu.org/~satoru/ruby-romkan/
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+EXAMPLES_JA= test.rb
+DOCS_EN= ChangeLog romkan-en.html
+DOCS_JA= romkan-ja.html
+
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja
+.for f in ${EXAMPLES_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
+.endif
+
+.include <bsd.port.post.mk>