summaryrefslogtreecommitdiffstats
path: root/japanese/skk-jisyo/Makefile
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-09-16 18:35:54 +0000
committeryoichi <yoichi@FreeBSD.org>2002-09-16 18:35:54 +0000
commit532a0f078537a56cb6cf6169dde8cf6878f5281c (patch)
treedf5b3ef2e22668d46a9946e4f325deed91304ed5 /japanese/skk-jisyo/Makefile
parent1d03f9498a046c5897759a6e81b586bc479a48b8 (diff)
downloadFreeBSD-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/Makefile')
-rw-r--r--japanese/skk-jisyo/Makefile23
1 files changed, 13 insertions, 10 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>
OpenPOWER on IntegriCloud