mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
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:
parent
4ee6cceaa7
commit
9bbc802c56
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356052
@ -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}/
|
||||
|
Loading…
Reference in New Issue
Block a user