Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 08:50:20 +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: r355802 - in head/www: firefox-i18n seamonkey-i18n
Message-ID:  <201405300850.s4U8oKji037676@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri May 30 08:50:20 2014
New Revision: 355802
URL: http://svnweb.freebsd.org/changeset/ports/355802
QAT: https://qat.redports.org/buildarchive/r355802/

Log:
  www/firefox(seamonkey)-i18n: explicitly use UNZIP_CMD
  
  The extraction of xpi requires zip (infozip to be precise).  Rather than
  use variables EXTRACT_CMD and EXTRACT_BEFORE_ARGS, use UNZIP_CMD and
  the default "-qo" arguments to future-proof these ports (depending on the
  implemention, the original variables may default to tar arguments if they
  are defined at all).  Covered by general infrastructure blanket.

Modified:
  head/www/firefox-i18n/Makefile
  head/www/seamonkey-i18n/Makefile

Modified: head/www/firefox-i18n/Makefile
==============================================================================
--- head/www/firefox-i18n/Makefile	Fri May 30 08:30:12 2014	(r355801)
+++ head/www/firefox-i18n/Makefile	Fri May 30 08:50:20 2014	(r355802)
@@ -51,7 +51,7 @@ pre-everything::
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@for lang in ${FIREFOX_I18N_}; do \
-		if ! (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$lang.xpi -d ${WRKSRC}/langpack-$$lang@firefox.mozilla.org);\
+		if ! (${UNZIP_CMD} -qo ${_DISTDIR}/$$lang.xpi -d ${WRKSRC}/langpack-$$lang@firefox.mozilla.org);\
 		then \
 			exit 1; \
 		fi; \

Modified: head/www/seamonkey-i18n/Makefile
==============================================================================
--- head/www/seamonkey-i18n/Makefile	Fri May 30 08:30:12 2014	(r355801)
+++ head/www/seamonkey-i18n/Makefile	Fri May 30 08:50:20 2014	(r355802)
@@ -51,7 +51,7 @@ pre-everything::
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@for lang in ${SEAMONKEY_I18N_}; do \
-		if ! (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/seamonkey-${PORTVERSION}.$$lang.langpack.xpi -d ${WRKSRC}/langpack-$$lang@seamonkey.mozilla.org);\
+		if ! (${UNZIP_CMD} -qo ${_DISTDIR}/seamonkey-${PORTVERSION}.$$lang.langpack.xpi -d ${WRKSRC}/langpack-$$lang@seamonkey.mozilla.org);\
 		then \
 			exit 1; \
 		fi; \



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