aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-06-01 15:28:43 +0800
committermarino <marino@FreeBSD.org>2014-06-01 15:28:43 +0800
commit69dd0e41748f8df68087398fc1cd260848840592 (patch)
treed197ab5379177a5c2db0eb7cb784f95d37fbda25 /textproc
parent005087c98b25df5aac9e9f03d3e2514199045cc6 (diff)
downloadfreebsd-ports-gnome-69dd0e41748f8df68087398fc1cd260848840592.tar.gz
freebsd-ports-gnome-69dd0e41748f8df68087398fc1cd260848840592.tar.zst
freebsd-ports-gnome-69dd0e41748f8df68087398fc1cd260848840592.zip
textproc/hunspell: Use TAR instead of UNZIP_CMD to remove infozip
When EXTRACT_CMD was removed, it was replace by UNZIP_CMD which required a new dependency on infozip. By using TAR to extract the zip archive instead, that new dependency is no longer necessary.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/no-hunspell/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/no-hunspell/Makefile b/textproc/no-hunspell/Makefile
index 3c9c15105113..7c2a69190de0 100644
--- a/textproc/no-hunspell/Makefile
+++ b/textproc/no-hunspell/Makefile
@@ -12,7 +12,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Norwegian (Nynorsk and Bokmaal) hunspell dictionaries
-USES= zip:infozip
+USES= zip
NO_BUILD= yes
PLIST_FILES= %%DATADIR%%/nb_NO.aff \
@@ -23,8 +23,8 @@ PLIST_DIRSTRY= %%DATADIR%%
post-extract:
@${MKDIR} ${WRKSRC}
- @${UNZIP_CMD} -qo ${WRKDIR}/nb_NO.zip -d ${WRKSRC}
- @${UNZIP_CMD} -qo ${WRKDIR}/nn_NO.zip -d ${WRKSRC}
+ @${TAR} -xf ${WRKDIR}/nb_NO.zip --directory ${WRKSRC}
+ @${TAR} -xf ${WRKDIR}/nn_NO.zip --directory ${WRKSRC}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/