aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/kanji18
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2013-05-08 19:29:45 +0800
committersanpei <sanpei@FreeBSD.org>2013-05-08 19:29:45 +0800
commit530de4e463d48b69c7764c8b31c575add6758c85 (patch)
treeca9faf2e78224491738ada53d507dbe3b17558d6 /japanese/kanji18
parent83b89ac20597baa63476c123d7e267a234e825f3 (diff)
downloadfreebsd-ports-gnome-530de4e463d48b69c7764c8b31c575add6758c85.tar.gz
freebsd-ports-gnome-530de4e463d48b69c7764c8b31c575add6758c85.tar.zst
freebsd-ports-gnome-530de4e463d48b69c7764c8b31c575add6758c85.zip
fix extract-error(GNU unshar changed behavior)
Submitted by: hrs Reviewed by: nyan
Diffstat (limited to 'japanese/kanji18')
-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}