aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird-i18n
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-06-07 23:46:45 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-06-07 23:46:45 +0000
commitab0ec7ba017aabbf6f817bf1cb72a0e8dfdf3bde (patch)
treed62c5684574170d22bb64fc5367e55b5ed52e1a1 /mail/thunderbird-i18n
parent6f1ddbf6db18ed7aaa2aa7a4f2a556ff32bb5d5d (diff)
downloadports-ab0ec7ba017aabbf6f817bf1cb72a0e8dfdf3bde.tar.gz
ports-ab0ec7ba017aabbf6f817bf1cb72a0e8dfdf3bde.zip
Notes
Diffstat (limited to 'mail/thunderbird-i18n')
-rw-r--r--mail/thunderbird-i18n/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/thunderbird-i18n/Makefile b/mail/thunderbird-i18n/Makefile
index 8bc6eee31647..1a9aa4819ada 100644
--- a/mail/thunderbird-i18n/Makefile
+++ b/mail/thunderbird-i18n/Makefile
@@ -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 \