diff options
author | yoichi <yoichi@FreeBSD.org> | 2002-05-15 12:31:10 +0000 |
---|---|---|
committer | yoichi <yoichi@FreeBSD.org> | 2002-05-15 12:31:10 +0000 |
commit | 6c5a72eb218e95a4235ad673c745a1157497da06 (patch) | |
tree | 1a9e1ca4978c34dcdc354bc614e40ffea6559057 /japanese/skk-jisyo/Makefile | |
parent | 6ee9a22389d6c9893381a012763b73cc61860785 (diff) | |
download | FreeBSD-ports-6c5a72eb218e95a4235ad673c745a1157497da06.zip FreeBSD-ports-6c5a72eb218e95a4235ad673c745a1157497da06.tar.gz |
Update to the newest dictionary files.
Take over maintainership.
Approved by: matusita (previous maintainer)
Diffstat (limited to 'japanese/skk-jisyo/Makefile')
-rw-r--r-- | japanese/skk-jisyo/Makefile | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/japanese/skk-jisyo/Makefile b/japanese/skk-jisyo/Makefile index 2920c15..011d8a4 100644 --- a/japanese/skk-jisyo/Makefile +++ b/japanese/skk-jisyo/Makefile @@ -6,35 +6,30 @@ # PORTNAME= skk-jisyo -PORTVERSION= 9.6 -PKGNAMESUFFIX= ${SKKJISYO_SIZE} +PORTVERSION= 200205 CATEGORIES= japanese -MASTER_SITES= ${MASTER_SITE_PORTS_JP} -DISTNAME= skk${PORTVERSION} +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 -MAINTAINER= matusita@FreeBSD.org +MAINTAINER= yoichi@FreeBSD.org -.if !defined(SKKJISYO_SIZE) -SKKJISYO_SIZE= L -.else -.if ${SKKJISYO_SIZE} != L && ${SKKJISYO_SIZE} != M && ${SKKJISYO_SIZE} != S -SKKJISYO_SIZE_INVALID= yes -.endif -.endif -SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE} - -WRKSRC= ${WRKDIR}/skk-${PORTVERSION} -GNU_CONFIGURE= yes +NO_WRKSUBDIR= yes NO_BUILD= yes -INSTALL_TARGET= install-jisyo -MAKE_ARGS= JISYO=${SKKJISYO} -PLIST_SUB= JISYONAME=${SKKJISYO} +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= -p +EXTRACT_AFTER_ARGS= ${WRKDIR} + +SKKDIR= ${PREFIX}/share/skk +SKK_JISYO_TYPE?= L M S -pre-fetch: -.if defined(SKKJISYO_SIZE_INVALID) - @${ECHO_MSG} "Error: invalid SKKJISYO_SIZE: ${SKKJISYO_SIZE}" - @${ECHO_MSG} "SKKJISYO_SIZE should be L, M, or S." - @${FALSE} -.endif +post-extract: + @(cd ${WRKDIR}; ${GUNZIP_CMD} *.gz) +do-install: + ${MKDIR} ${SKKDIR} +.for i in ${SKK_JISYO_TYPE} + ${INSTALL_DATA} ${WRKSRC}/SKK-JISYO.${i}.${PORTVERSION} ${SKKDIR}/SKK-JISYO.${i} +.endfor .include <bsd.port.mk> |