svn commit: r356960 - head/mail/thunderbird-i18n
Antoine Brodin
antoine at FreeBSD.org
Sat Jun 7 23:46:46 UTC 2014
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 at 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 at thunderbird.mozilla.org);\
+ if ! (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$lang.xpi -d ${WRKSRC}/langpack-$$lang at 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 \
More information about the svn-ports-all
mailing list