aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/prime
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-05-10 23:43:17 +0800
committernork <nork@FreeBSD.org>2005-05-10 23:43:17 +0800
commit790157383fea359f31f52759b2af1e8f12577588 (patch)
tree74eb6a34ca27d7809b14527104065a9a7b4d5729 /japanese/prime
parent2a3c0557e41f85eaa9714f693bfdba365ec053db (diff)
downloadfreebsd-ports-gnome-790157383fea359f31f52759b2af1e8f12577588.tar.gz
freebsd-ports-gnome-790157383fea359f31f52759b2af1e8f12577588.tar.zst
freebsd-ports-gnome-790157383fea359f31f52759b2af1e8f12577588.zip
Add prime 1.0.0.1, PRedictive Input Method Editor(PRIME).
PR: ports/78281 Submitted by: Gen Otsuji <otsuji@users.sourceforge.jp> Reviewed by: Gen Otsuji <otsuji@users.sourceforge.jp>
Diffstat (limited to 'japanese/prime')
-rw-r--r--japanese/prime/Makefile42
-rw-r--r--japanese/prime/distinfo2
-rw-r--r--japanese/prime/files/patch-Makefile.am15
-rw-r--r--japanese/prime/pkg-descr5
-rw-r--r--japanese/prime/pkg-plist78
5 files changed, 142 insertions, 0 deletions
diff --git a/japanese/prime/Makefile b/japanese/prime/Makefile
new file mode 100644
index 000000000000..5914a16892e5
--- /dev/null
+++ b/japanese/prime/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: ja-prime
+# Date created: 6 Jun 2003
+# Whom: Gen Otsuji<otsuji@users.sourceforge.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= prime
+DISTVERSION= 1.0.0.1
+CATEGORIES= japanese
+MASTER_SITES= http://prime.sourceforge.jp/src/
+
+MAINTAINER= otsuji@users.sourceforge.jp
+COMMENT= PRedictive Input Method Editor(PRIME)
+
+LIB_DEPENDS= sary.9:${PORTSDIR}/textproc/sary
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/sary.so:${PORTSDIR}/textproc/ruby-sary \
+ ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv \
+ ${LOCALBASE}/share/emacs/site-lisp/init-suikyo.el:../suikyo \
+ ${LOCALBASE}/share/prime/dict/prime-dict:../prime-dict
+
+USE_RUBY= yes
+RUBY_WITH_PTHREAD= yes
+
+USE_GNOME= pkgconfig
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-rubydir=${RUBY_SITELIBDIR}
+USE_AUTOMAKE_VER= 19
+USE_AUTOCONF_VER= 259
+
+PLIST_SUB= X11BASE=${X11BASE}
+
+pre-configure:
+ @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
+
+post-install:
+ cd ${WRKSRC}; ${MAKE} install-etc
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC}/doc; ${MAKE} ${INSTALL_TARGET}
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/prime/distinfo b/japanese/prime/distinfo
new file mode 100644
index 000000000000..2783b6815c08
--- /dev/null
+++ b/japanese/prime/distinfo
@@ -0,0 +1,2 @@
+MD5 (prime-1.0.0.1.tar.gz) = c3bb6df8590986104e41c23330d90aef
+SIZE (prime-1.0.0.1.tar.gz) = 300251
diff --git a/japanese/prime/files/patch-Makefile.am b/japanese/prime/files/patch-Makefile.am
new file mode 100644
index 000000000000..23220533ac6f
--- /dev/null
+++ b/japanese/prime/files/patch-Makefile.am
@@ -0,0 +1,15 @@
+--- Makefile.am.orig Tue Mar 8 21:36:20 2005
++++ Makefile.am Tue May 10 19:30:06 2005
+@@ -8,10 +8,10 @@
+ # You can redistribute it and/or modify it under the terms of
+ # the GNU General Public License version 2.
+
+-SUBDIRS = doc etc grammar lib src packaging uim
++SUBDIRS = etc grammar lib src packaging uim
+ EXTRA_DIST = autogen.sh prime.spec prime.spec.in prime.pc.in
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = prime.pc
+
+ install-etc:
diff --git a/japanese/prime/pkg-descr b/japanese/prime/pkg-descr
new file mode 100644
index 000000000000..50031c15a317
--- /dev/null
+++ b/japanese/prime/pkg-descr
@@ -0,0 +1,5 @@
+PRIME is Japanese PRedictive Input Method Editor.
+For more detail, please see the following web page.
+
+Author: Hiroyuki Komatsu <komatsu@taiyaki.org>
+WWW: http://taiyaki.org/prime/
diff --git a/japanese/prime/pkg-plist b/japanese/prime/pkg-plist
new file mode 100644
index 000000000000..d3307a3ad3f1
--- /dev/null
+++ b/japanese/prime/pkg-plist
@@ -0,0 +1,78 @@
+bin/prime
+bin/prime-dict-convert
+bin/prime-dict-index
+bin/prime-refresh
+bin/prime-userdict-convert
+bin/prime-userdict-update
+libdata/pkgconfig/prime.pc
+etc/prime/Custom_prime.rb
+@unexec rmdir %D/etc/prime 2>/dev/null || true
+%%DATADIR%%/grammar/prime-grammar
+%%DATADIR%%/makedict/canna2prime.table
+@unexec rmdir %D/%%DATADIR%%/grammar 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%%/makedict 2>/dev/null || true
+%%RUBY_SITELIBDIR%%/prime/engine/engine-adambnc.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-alphabet.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-basic.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-english.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-network.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-number.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-personaldict.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-sary.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-userdict.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-userdict2-en.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-userdict2-lib.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-userdict2-static.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine-userdict2.rb
+%%RUBY_SITELIBDIR%%/prime/engine/engine.rb
+%%RUBY_SITELIBDIR%%/prime/grammar/grammar.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/basicdict.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-adambnc.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-cannadic.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-pubdic.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-skkdic.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-text.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-usage.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-wordlist.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat-wordnet.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/dictformat.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/prime-sary.rb
+%%RUBY_SITELIBDIR%%/prime/makedict/userdict.rb
+%%RUBY_SITELIBDIR%%/prime/array-agent.rb
+%%RUBY_SITELIBDIR%%/prime/composer.rb
+%%RUBY_SITELIBDIR%%/prime/prime-config.rb
+%%RUBY_SITELIBDIR%%/prime/prime-japanese.rb
+%%RUBY_SITELIBDIR%%/prime/prime-mixed.rb
+%%RUBY_SITELIBDIR%%/prime/prime.rb
+%%RUBY_SITELIBDIR%%/prime/prime08.rb
+%%RUBY_SITELIBDIR%%/prime/prime2.rb
+%%RUBY_SITELIBDIR%%/prime/protocol.rb
+%%RUBY_SITELIBDIR%%/prime/server.rb
+%%RUBY_SITELIBDIR%%/prime/session-english.rb
+%%RUBY_SITELIBDIR%%/prime/session-japanese.rb
+%%RUBY_SITELIBDIR%%/prime/session-prime08.rb
+%%RUBY_SITELIBDIR%%/prime/session.rb
+%%RUBY_SITELIBDIR%%/prime/taiyaki.rb
+@unexec rmdir %D/%%RUBY_SITELIBDIR%%/prime/engine 2>/dev/null || true
+@unexec rmdir %D/%%RUBY_SITELIBDIR%%/prime/grammar 2>/dev/null || true
+@unexec rmdir %D/%%RUBY_SITELIBDIR%%/prime/makedict 2>/dev/null || true
+@unexec rmdir %D/%%RUBY_SITELIBDIR%%/prime 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/examples/Custom_prime.rb
+%%PORTDOCS%%%%DOCSDIR%%/figures/dict-format.png
+%%PORTDOCS%%%%DOCSDIR%%/figures/predictive-input.png
+%%PORTDOCS%%%%DOCSDIR%%/figures/tan-bunsetsu.png
+%%PORTDOCS%%%%DOCSDIR%%/uim/prime-custom.scm
+%%PORTDOCS%%%%DOCSDIR%%/uim/prime-key-custom.scm
+%%PORTDOCS%%%%DOCSDIR%%/uim/prime.scm
+%%PORTDOCS%%%%DOCSDIR%%/uim_prime.html
+%%PORTDOCS%%%%DOCSDIR%%/dictionary.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/install.html
+%%PORTDOCS%%%%DOCSDIR%%/prime.html
+%%PORTDOCS%%%%DOCSDIR%%/usage.html
+%%PORTDOCS%%%%DOCSDIR%%/taiyaki.css
+%%PORTDOCS%%%%DOCSDIR%%/taiyaki.png
+%%PORTDOCS%%@unexec rmdir %D/%%DOCSDIR%%/examples 2>/dev/null || true
+%%PORTDOCS%%@unexec rmdir %D/%%DOCSDIR%%/figures 2>/dev/null || true
+%%PORTDOCS%%@unexec rmdir %D/%%DOCSDIR%%/uim 2>/dev/null || true
+%%PORTDOCS%%@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true