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.
This commit is contained in:
John Marino 2014-06-01 07:28:43 +00:00
parent 4ee6cceaa7
commit 9bbc802c56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356052

View File

@ -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}/