Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 10:14:41 +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: r355815 - head/textproc/no-hunspell
Message-ID:  <201405301014.s4UAEfYE077850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri May 30 10:14:40 2014
New Revision: 355815
URL: http://svnweb.freebsd.org/changeset/ports/355815
QAT: https://qat.redports.org/buildarchive/r355815/

Log:
  textproc/no-hunspell: use explicit UNZIP_CMD (requires infozip)
  
  The tool needed for extract is zip.  However UNZIP_CMD explicitly refers
  to zipinfo, and UNZIP_NATIVE_CMD isn't available on DragonFly.  To future-
  proof the port, convert EXTRACT_CMD and EXTRACT_BEFORE_ARGS to UNZIP_CMD
  and the default zip extraction args.  The (small) price is a new
  dependency on infozip.  Covered by general infrastructure blanket.

Modified:
  head/textproc/no-hunspell/Makefile

Modified: head/textproc/no-hunspell/Makefile
==============================================================================
--- head/textproc/no-hunspell/Makefile	Fri May 30 10:13:39 2014	(r355814)
+++ head/textproc/no-hunspell/Makefile	Fri May 30 10:14:40 2014	(r355815)
@@ -12,7 +12,7 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Norwegian (Nynorsk and Bokmaal) hunspell dictionaries
 
-USES=		zip
+USES=		zip:infozip
 NO_BUILD=	yes
 
 PLIST_FILES=	%%DATADIR%%/nb_NO.aff \
@@ -23,8 +23,8 @@ PLIST_DIRSTRY=	%%DATADIR%%
 
 post-extract:
 	@${MKDIR} ${WRKSRC}
-	@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKDIR}/nb_NO.zip -d ${WRKSRC}
-	@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKDIR}/nn_NO.zip -d ${WRKSRC}
+	@${UNZIP_CMD} -qo ${WRKDIR}/nb_NO.zip -d ${WRKSRC}
+	@${UNZIP_CMD} -qo ${WRKDIR}/nn_NO.zip -d ${WRKSRC}
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}/



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