diff options
author | yoichi <yoichi@FreeBSD.org> | 2002-09-16 18:35:54 +0000 |
---|---|---|
committer | yoichi <yoichi@FreeBSD.org> | 2002-09-16 18:35:54 +0000 |
commit | 532a0f078537a56cb6cf6169dde8cf6878f5281c (patch) | |
tree | df5b3ef2e22668d46a9946e4f325deed91304ed5 /japanese/skk-jisyo | |
parent | 1d03f9498a046c5897759a6e81b586bc479a48b8 (diff) | |
download | FreeBSD-ports-532a0f078537a56cb6cf6169dde8cf6878f5281c.zip FreeBSD-ports-532a0f078537a56cb6cf6169dde8cf6878f5281c.tar.gz |
Add skk-jisyo-cdb, SKK dictionary files in another format.
Submitted by: YANO Toru <toru@maid.ne.jp>
KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
Diffstat (limited to 'japanese/skk-jisyo')
-rw-r--r-- | japanese/skk-jisyo/Makefile | 23 | ||||
-rw-r--r-- | japanese/skk-jisyo/pkg-plist | 8 |
2 files changed, 17 insertions, 14 deletions
diff --git a/japanese/skk-jisyo/Makefile b/japanese/skk-jisyo/Makefile index 97fd732..01b8393 100644 --- a/japanese/skk-jisyo/Makefile +++ b/japanese/skk-jisyo/Makefile @@ -5,16 +5,16 @@ # $FreeBSD$ # -PORTNAME= skk-jisyo -PORTVERSION= 200209 +PORTNAME?= skk-jisyo +PORTVERSION?= 200209 CATEGORIES= japanese MASTER_SITES?= http://www.tkd.ne.jp/~toru/skk/ -DISTFILES?= SKK-JISYO.L.${PORTVERSION}.gz \ - SKK-JISYO.M.${PORTVERSION}.gz \ - SKK-JISYO.S.${PORTVERSION}.gz -DIST_SUBDIR= ${PORTNAME} +DISTFILES?= SKK-JISYO.L.${PORTVERSION}${SKK_JISYO_SUFFIX}.gz \ + SKK-JISYO.M.${PORTVERSION}${SKK_JISYO_SUFFIX}.gz \ + SKK-JISYO.S.${PORTVERSION}${SKK_JISYO_SUFFIX}.gz +DIST_SUBDIR= skk-jisyo -MAINTAINER= yoichi@FreeBSD.org +MAINTAINER?= yoichi@FreeBSD.org NO_WRKSUBDIR= yes NO_BUILD= yes @@ -22,15 +22,18 @@ EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p EXTRACT_AFTER_ARGS= ${WRKDIR} -SKKDIR= ${PREFIX}/share/skk +SKKDIR?= share/skk SKK_JISYO_TYPE?= L M S +SKK_JISYO_SUFFIX?= # empty + +PLIST_SUB= SKKDIR=${SKKDIR} JISYO_SUFFIX=${SKK_JISYO_SUFFIX} post-extract: @(cd ${WRKDIR}; ${GUNZIP_CMD} *.gz) do-install: - ${MKDIR} ${SKKDIR} + ${MKDIR} ${PREFIX}/${SKKDIR} .for i in ${SKK_JISYO_TYPE} - ${INSTALL_DATA} ${WRKSRC}/SKK-JISYO.${i}.${PORTVERSION} ${SKKDIR}/SKK-JISYO.${i} + ${INSTALL_DATA} ${WRKSRC}/SKK-JISYO.${i}.${PORTVERSION}${SKK_JISYO_SUFFIX} ${PREFIX}/${SKKDIR}/SKK-JISYO.${i}${SKK_JISYO_SUFFIX} .endfor .include <bsd.port.mk> diff --git a/japanese/skk-jisyo/pkg-plist b/japanese/skk-jisyo/pkg-plist index 01d1e08..7fee972 100644 --- a/japanese/skk-jisyo/pkg-plist +++ b/japanese/skk-jisyo/pkg-plist @@ -1,4 +1,4 @@ -share/skk/SKK-JISYO.L -share/skk/SKK-JISYO.M -share/skk/SKK-JISYO.S -@dirrm share/skk +%%SKKDIR%%/SKK-JISYO.L%%JISYO_SUFFIX%% +%%SKKDIR%%/SKK-JISYO.M%%JISYO_SUFFIX%% +%%SKKDIR%%/SKK-JISYO.S%%JISYO_SUFFIX%% +@dirrm %%SKKDIR%% |