summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2013-05-08 11:29:45 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2013-05-08 11:29:45 +0000
commit1b3f6cc80ce87a3c57aa37bd84ced9e31f6d8261 (patch)
treeca9faf2e78224491738ada53d507dbe3b17558d6 /japanese
parentUpdate to 6.29. (diff)
fix extract-error(GNU unshar changed behavior)
Submitted by: hrs Reviewed by: nyan
Notes
Notes: svn path=/head/; revision=317651
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kanji18/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/japanese/kanji18/Makefile b/japanese/kanji18/Makefile
index 18bcc1fc2b90..e9a627732b51 100644
--- a/japanese/kanji18/Makefile
+++ b/japanese/kanji18/Makefile
@@ -29,9 +29,10 @@ NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
-EXTRACT_CMD= zcat
+EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= | gunshar -d $(WRKDIR)
+EXTRACT_AFTER_ARGS= | ${AWK} '/bin\/sh/{P=1} {if (P==1) print;}' | \
+ ${LOCALBASE}/bin/gunshar -d $(WRKDIR)
PKGINSTALL= ${WRKSRC}/INSTALL
PKGDEINSTALL= ${WRKSRC}/DEINSTALL
MAKE_ENV= FONTSDIR=${FONTSDIR}