svn commit: r356052 - head/textproc/no-hunspell

John Marino marino at FreeBSD.org
Sun Jun 1 07:28:44 UTC 2014


Author: marino
Date: Sun Jun  1 07:28:43 2014
New Revision: 356052
URL: http://svnweb.freebsd.org/changeset/ports/356052
QAT: https://qat.redports.org/buildarchive/r356052/

Log:
  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.

Modified:
  head/textproc/no-hunspell/Makefile

Modified: head/textproc/no-hunspell/Makefile
==============================================================================
--- head/textproc/no-hunspell/Makefile	Sun Jun  1 07:28:32 2014	(r356051)
+++ head/textproc/no-hunspell/Makefile	Sun Jun  1 07:28:43 2014	(r356052)
@@ -12,7 +12,7 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	office at 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}/


More information about the svn-ports-head mailing list