diff options
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/cmigemo-dict/Makefile | 37 | ||||
-rw-r--r-- | japanese/cmigemo-dict/pkg-descr | 5 | ||||
-rw-r--r-- | japanese/cmigemo-dict/pkg-plist | 7 |
4 files changed, 50 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 8c8e2fd7a499..c145f7213748 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -36,6 +36,7 @@ SUBDIR += chasen SUBDIR += chasen-base SUBDIR += cmigemo + SUBDIR += cmigemo-dict SUBDIR += csrd SUBDIR += ctags SUBDIR += dbskkd-cdb diff --git a/japanese/cmigemo-dict/Makefile b/japanese/cmigemo-dict/Makefile new file mode 100644 index 000000000000..646cfc27bb86 --- /dev/null +++ b/japanese/cmigemo-dict/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: cmigemo-dict +# Date created: 22 August 2011 +# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org> +# +# $FreeBSD$ +# + +CATEGORIES= japanese +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ + ${MASTER_SITE_LOCAL:S/$/:skkdic/} +MASTER_SITE_SUBDIR= nobutaka/:skkdic +PKGNAMESUFFIX= -dict +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${SKKDIC_FILE}:skkdic +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= nobutaka@FreeBSD.org +COMMENT= Dictionary for C/Migemo Japanese incremental search tool + +LICENSE= GPLv2 + +MASTERDIR= ${.CURDIR}/../../japanese/cmigemo +PKGDIR= ${.CURDIR} + +USE_PERL5= yes + +ALL_TARGET= gcc-dict +INSTALL_TARGET= gcc-install-dict + +SKKDIC_FILE= SKK-JISYO.L-20110813.bz2 +LICENSE_DISTFILES= ${SKKDIC_FILE} + +post-extract: + ${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE} > ${WRKSRC}/dict/SKK-JISYO.L + ${CHMOD} a+x ${WRKSRC}/configure + +.include "${MASTERDIR}/Makefile" diff --git a/japanese/cmigemo-dict/pkg-descr b/japanese/cmigemo-dict/pkg-descr new file mode 100644 index 000000000000..f897153ec35e --- /dev/null +++ b/japanese/cmigemo-dict/pkg-descr @@ -0,0 +1,5 @@ +C/Migemo is a C language implementation of Migemo Japanese incremental search +tool. You can search a text for Japanese words without having to input kanji. +This port installs the dictionary for C/Migemo. + +WWW: http://www.kaoriya.net/software/cmigemo diff --git a/japanese/cmigemo-dict/pkg-plist b/japanese/cmigemo-dict/pkg-plist new file mode 100644 index 000000000000..2bf6d1533e4b --- /dev/null +++ b/japanese/cmigemo-dict/pkg-plist @@ -0,0 +1,7 @@ +%%DATADIR%%/cp932/migemo-dict +%%DATADIR%%/euc-jp/migemo-dict +%%DATADIR%%/utf-8/migemo-dict +@dirrm %%DATADIR%%/cp932 +@dirrm %%DATADIR%%/euc-jp +@dirrm %%DATADIR%%/utf-8 +@dirrm %%DATADIR%% |