summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-12-18 20:28:43 +0000
committerryoon <ryoon@pkgsrc.org>2012-12-18 20:28:43 +0000
commit13fbf2b1bfdb819507e952205bd6312feda7ce36 (patch)
tree020310c4080a2f8977bcfd7896906cc332a88295 /devel
parent4fede4ee780439a045f824913279768100563aff (diff)
downloadpkgsrc-13fbf2b1bfdb819507e952205bd6312feda7ce36.tar.gz
Sync with xulrunner/xpi.mk
Fix www/firefox10-l10n build on SmartOS.
Diffstat (limited to 'devel')
-rw-r--r--devel/xulrunner10/xpi.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/xulrunner10/xpi.mk b/devel/xulrunner10/xpi.mk
index 74181a69c42..f5f85436378 100644
--- a/devel/xulrunner10/xpi.mk
+++ b/devel/xulrunner10/xpi.mk
@@ -1,4 +1,4 @@
-# $NetBSD: xpi.mk,v 1.2 2012/03/19 20:34:03 ryoon Exp $
+# $NetBSD: xpi.mk,v 1.3 2012/12/18 20:28:43 ryoon Exp $
#
# common logic for repackaging mozilla extensions (.xpi files)
# Used by the {firefox,seamonkey,thunderbird}10-l10n packages.
@@ -19,6 +19,7 @@ do-install: install-xpi
install-xpi:
.for f in ${XPI_FILES}
id=$$(${AWK} '/em:id=/ {sub("^.*em:id=\"", "");sub("\".*$$","");print $$0}' < ${WRKDIR}/${f:S/.xpi//}/install.rdf); \
+ ${MKDIR} ${DESTDIR}${EXTENSIONS_DIR}/$${id} && \
cd ${WRKDIR}/${f:S/.xpi//} && \
pax -rw . ${DESTDIR}${EXTENSIONS_DIR}/$${id}
.endfor