Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2014 23:46:46 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356960 - head/mail/thunderbird-i18n
Message-ID:  <201406072346.s57Nkk5X099872@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jun  7 23:46:45 2014
New Revision: 356960
URL: http://svnweb.freebsd.org/changeset/ports/356960
QAT: https://qat.redports.org/buildarchive/r356960/

Log:
  - Unbreak make extract
  - Allow staging as a regular user
  
  PR:		ports/190761

Modified:
  head/mail/thunderbird-i18n/Makefile

Modified: head/mail/thunderbird-i18n/Makefile
==============================================================================
--- head/mail/thunderbird-i18n/Makefile	Sat Jun  7 23:37:50 2014	(r356959)
+++ head/mail/thunderbird-i18n/Makefile	Sat Jun  7 23:46:45 2014	(r356960)
@@ -12,8 +12,6 @@ DIST_SUBDIR=	xpi/${DISTNAME}
 MAINTAINER=	gecko@FreeBSD.org
 COMMENT=	Localized interface for Thunderbird
 
-EXTRACT_DEPENDS=	zip:${PORTSDIR}/archivers/zip
-
 USES=		gecko:thunderbird zip
 USE_XPI=	thunderbird
 
@@ -48,7 +46,7 @@ do-extract:
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR} ${WRKSRC}
 	@for lang in ${THUNDERBIRD_I18N_}; do \
-		if ! (${UNZIP_CMD} -qo ${_DISTDIR}/$$lang.xpi -d ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org);\
+		if ! (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$lang.xpi -d ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org);\
 		then \
 			exit 1; \
 		fi; \
@@ -63,7 +61,7 @@ do-extract:
 
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${XPI_LIBDIR} ${STAGEDIR}${XPI_SLDIRS_ALL}
+	@${MKDIR} ${STAGEDIR}${XPI_LIBDIR} ${XPI_SLDIRS_ALL:S,^,${STAGEDIR},}
 	cd ${WRKSRC}; ${PAX} -rw . ${STAGEDIR}${XPI_LIBDIR}
 	${CHMOD} -R a+rX,go-w ${STAGEDIR}${XPI_LIBDIR}/${WDIR}/
 	@for e in ${STAGEDIR}${XPI_LIBDIR}/${WDIR}; do \



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