Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 07:28:44 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356052 - head/textproc/no-hunspell
Message-ID:  <201406010728.s517SicF000231@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406010728.s517SicF000231>