From 532a0f078537a56cb6cf6169dde8cf6878f5281c Mon Sep 17 00:00:00 2001 From: yoichi Date: Mon, 16 Sep 2002 18:35:54 +0000 Subject: Add skk-jisyo-cdb, SKK dictionary files in another format. Submitted by: YANO Toru KOMATSU Shinichiro --- japanese/skk-jisyo/Makefile | 23 +++++++++++++---------- japanese/skk-jisyo/pkg-plist | 8 ++++---- 2 files changed, 17 insertions(+), 14 deletions(-) (limited to 'japanese/skk-jisyo') 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 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%% -- cgit v1.1