aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 12:18:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 12:18:47 +0000
commit7b51fa10f560fb367fd937a14a75644d32c42379 (patch)
treed8ef44646bc58fdc4462269f6543c000a5b334b9 /japanese
parent64b39075252c8d60845c49491a64950f8a915da4 (diff)
downloadports-7b51fa10f560fb367fd937a14a75644d32c42379.tar.gz
ports-7b51fa10f560fb367fd937a14a75644d32c42379.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/ruby-rdic/Makefile66
-rw-r--r--japanese/ruby-rdic/distinfo1
-rw-r--r--japanese/ruby-rdic/pkg-descr4
-rw-r--r--japanese/ruby-rdic/pkg-plist18
5 files changed, 90 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index ffb7288fe304..600c4b8eeaf9 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -317,6 +317,7 @@
SUBDIR += ruby-kakasi
SUBDIR += ruby-man
SUBDIR += ruby-mecab
+ SUBDIR += ruby-rdic
SUBDIR += ruby-refe
SUBDIR += ruby-romkan
SUBDIR += ruby-slang
diff --git a/japanese/ruby-rdic/Makefile b/japanese/ruby-rdic/Makefile
new file mode 100644
index 000000000000..18e2525abdb4
--- /dev/null
+++ b/japanese/ruby-rdic/Makefile
@@ -0,0 +1,66 @@
+# Ports collection makefile for: Ruby/rdic
+# Date created: 3 Aug 2003
+# Whom: Takahiro Morishita <morishita@skywing.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rdic
+PORTVERSION= 0.1.2
+CATEGORIES= japanese ruby
+MASTER_SITES= http://www.yasgursfarm.us/download/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= morishita@skywing.org
+COMMENT= A search tool for Eijiro by ruby
+
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/mmap.so:${PORTSDIR}/devel/ruby-mmap
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+RUBY_SHEBANG_FILES= rdic \
+ cnv2alc.rb \
+ cnv2jisx0213.rb \
+ cnv2rdic.rb
+RUBY_RD_FILES= xselection.rd \
+ xselection.rd.jp
+
+USE_XLIB= yes
+
+INSTALL_TARGET= site-install
+
+MAKE_ARGS+= CFLAGS='-I ${X11BASE}/include'
+
+DOCS_EN= ChangeLog.rdic \
+ ChangeLog.xselection \
+ README.eliminate \
+ README.func \
+ README.keymap \
+ README.xselection \
+ xselection.html \
+ ${RUBY_RD_FILES:Mxselection.rd}
+DOCS_JA= README.jp \
+ xselection.html.ja \
+ ${RUBY_RD_FILES:Mxselection.rd.jp}
+
+pre-install:
+ ${CP} ${WRKSRC}/rdic ${PREFIX}/bin/rdic
+ ${CP} ${WRKSRC}/cnv2alc.rb ${PREFIX}/bin/cnv2alc
+ ${CP} ${WRKSRC}/cnv2jisx0213.rb ${PREFIX}/bin/cnv2jisx0213
+ ${CP} ${WRKSRC}/cnv2rdic.rb ${PREFIX}/bin/cnv2rdic
+
+post-install: doc-install
+
+.include <bsd.port.mk>
+
+doc-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
diff --git a/japanese/ruby-rdic/distinfo b/japanese/ruby-rdic/distinfo
new file mode 100644
index 000000000000..4dbca138ec20
--- /dev/null
+++ b/japanese/ruby-rdic/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rdic-0.1.2.tar.gz) = 5e60bc41ff5e609eae6cde66e3400d90
diff --git a/japanese/ruby-rdic/pkg-descr b/japanese/ruby-rdic/pkg-descr
new file mode 100644
index 000000000000..daf379436552
--- /dev/null
+++ b/japanese/ruby-rdic/pkg-descr
@@ -0,0 +1,4 @@
+rdic is serch tool for Eijiro by ruby.
+
+WWW: http://www.yasgursfarm.us/rdic/
+Author: dave@yasgursfarm.us (Dave Scotto)
diff --git a/japanese/ruby-rdic/pkg-plist b/japanese/ruby-rdic/pkg-plist
new file mode 100644
index 000000000000..e18c1e22826d
--- /dev/null
+++ b/japanese/ruby-rdic/pkg-plist
@@ -0,0 +1,18 @@
+bin/rdic
+bin/cnv2alc
+bin/cnv2jisx0213
+bin/cnv2rdic
+%%RUBY_SITEARCHLIBDIR%%/xselection.so
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/xselection.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog.rdic
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog.xselection
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.eliminate
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.func
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.keymap
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.xselection
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/xselection.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/xselection.html.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.jp
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/xselection.rd.jp
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%