diff options
author | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2002-09-16 18:35:54 +0000 |
---|---|---|
committer | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2002-09-16 18:35:54 +0000 |
commit | cfa79909bfb6ee94321cc8706466f5527b7ca918 (patch) | |
tree | 7915f111ed56c5491887cb950f715f8e39ab2492 /japanese/skk-jisyo | |
parent | 4922e42c1f48669a42db7d454c302920980e1d85 (diff) | |
download | ports-cfa79909bfb6ee94321cc8706466f5527b7ca918.tar.gz ports-cfa79909bfb6ee94321cc8706466f5527b7ca918.zip |
Notes
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 97fd732376b7..01b8393790a4 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 01d1e088024b..7fee972746ab 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%% |