pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/firefox Remove xpi.mk. There is no consumer
details: https://anonhg.NetBSD.org/pkgsrc/rev/622fe9c0f8af
branches: trunk
changeset: 315361:622fe9c0f8af
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Nov 22 12:49:29 2018 +0000
description:
Remove xpi.mk. There is no consumer
diffstat:
www/firefox/xpi.mk | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diffs (29 lines):
diff -r a62a89c75494 -r 622fe9c0f8af www/firefox/xpi.mk
--- a/www/firefox/xpi.mk Thu Nov 22 12:48:49 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-# $NetBSD: xpi.mk,v 1.2 2013/08/31 22:15:10 rillig Exp $
-#
-# common logic for repackaging mozilla extensions (.xpi files)
-# Used by the {firefox,seamonkey,thunderbird}-l10n packages.
-
-USE_TOOLS+= unzip pax
-
-post-extract: extract-xpi
-
-.PHONY: extract-xpi
-extract-xpi:
-.for f in ${XPI_FILES}
- ${RUN} ${MKDIR} ${WRKDIR}/${f:S/.xpi//} && cd ${WRKDIR}/${f:S/.xpi//} && ${UNZIP_CMD} -aqo "${WRKDIR}/${f}"
-.endfor
-
-do-install: install-xpi
-
-.PHONY: 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
Home |
Main Index |
Thread Index |
Old Index