aboutsummaryrefslogtreecommitdiff
path: root/japanese/anthy
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2003-08-31 11:26:36 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2003-08-31 11:26:36 +0000
commitb93b90087cc98f66bcb815aeb761c1a0535f5650 (patch)
treecaaa4d082115b29fb1742a53d13a719a24b4675f /japanese/anthy
parente3b0342d7b5fffc7a9e44623410736791e5ea6ce (diff)
downloadports-b93b90087cc98f66bcb815aeb761c1a0535f5650.tar.gz
ports-b93b90087cc98f66bcb815aeb761c1a0535f5650.zip
Notes
Diffstat (limited to 'japanese/anthy')
-rw-r--r--japanese/anthy/Makefile16
-rw-r--r--japanese/anthy/distinfo3
-rw-r--r--japanese/anthy/files/extra-patch-mkanthydic:Makefile.in11
-rw-r--r--japanese/anthy/pkg-descr4
4 files changed, 32 insertions, 2 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index acb70f0e93c5..b31a1b75fa87 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -8,7 +8,9 @@
PORTNAME= anthy
PORTVERSION= 4300b
CATEGORIES= japanese
-MASTER_SITES= http://downloads.sourceforge.jp/anthy/5332/
+MASTER_SITES= http://downloads.sourceforge.jp/anthy/5332/:anthy
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:anthy
+DIST_SUBDIR= anthy
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Another kana-kanji conversion system
@@ -21,6 +23,18 @@ INSTALLS_SHLIB= yes
ELISPDIR= share/emacs/site-lisp
PLIST_SUB= ELISPDIR=${ELISPDIR}
+.if defined(WITH_2CHDIC)
+MASTER_SITES+= http://omaemona.sourceforge.net/packages/Zisyo/:2chdic
+DISTFILES+= 2ch.t:2chdic
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-mkanthydic:Makefile.in
+.endif
+
+.if defined(WITH_2CHDIC)
+post-extract:
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
diff --git a/japanese/anthy/distinfo b/japanese/anthy/distinfo
index 4e54f4a5a523..475ad70ed557 100644
--- a/japanese/anthy/distinfo
+++ b/japanese/anthy/distinfo
@@ -1 +1,2 @@
-MD5 (anthy-4300b.tar.gz) = 2f409a7ab9f6b9b9099191cd78385f42
+MD5 (anthy/anthy-4300b.tar.gz) = 2f409a7ab9f6b9b9099191cd78385f42
+MD5 (anthy/2ch.t) = f83c1a6b9d8b76e4c71d91ae25006fd6
diff --git a/japanese/anthy/files/extra-patch-mkanthydic:Makefile.in b/japanese/anthy/files/extra-patch-mkanthydic:Makefile.in
new file mode 100644
index 000000000000..6d61d0ce3fea
--- /dev/null
+++ b/japanese/anthy/files/extra-patch-mkanthydic:Makefile.in
@@ -0,0 +1,11 @@
+--- mkanthydic/Makefile.in.orig Sun Aug 31 02:27:28 2003
++++ mkanthydic/Makefile.in Sun Aug 31 02:27:47 2003
+@@ -91,7 +91,7 @@
+
+ # Files
+ noinst_SCRIPTS = mkanthydic
+-EXTRA_DICS = base.t extra.t
++EXTRA_DICS = base.t extra.t 2ch.t
+ CANNADIC_DIST = gcanna.t gcannaf.t
+ INCLUDES = -I$(top_srcdir)/include
+ # HOKUTODIC_DIST = hokuto.t
diff --git a/japanese/anthy/pkg-descr b/japanese/anthy/pkg-descr
index 977f7557581d..5e848a9fa9eb 100644
--- a/japanese/anthy/pkg-descr
+++ b/japanese/anthy/pkg-descr
@@ -1,4 +1,8 @@
Anthy is a Japanese input method working on X11 and emacs.
It converts Hiragana text to Kana Kanji mixed text.
+Supplemental 2ch BBS terms dictionary which is installed by WITH_2CHDIC knob
+is developed by Omaemona 2ch/Linux (DQN) Project.
+(http://omaemona.sourceforge.net/)
+
WWW: http://anthy.sourceforge.jp/ (Japanese)