summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-10-24 18:22:00 +0000
committeradam <adam@pkgsrc.org>2019-10-24 18:22:00 +0000
commit733d8827a2af912d96b47b48a34b04fd64973b43 (patch)
tree5acd50742dfea06768c8c306873e95cc2419455a /emulators
parent7e425bfab2631709e6db7df312fea21516b4d115 (diff)
downloadpkgsrc-733d8827a2af912d96b47b48a34b04fd64973b43.tar.gz
qemu: deal with static files generated by Sphinx
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu/Makefile11
-rw-r--r--emulators/qemu/PLIST51
2 files changed, 10 insertions, 52 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 7ccd10958bd..daca735ed01 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.218 2019/10/21 21:45:39 adam Exp $
+# $NetBSD: Makefile,v 1.219 2019/10/24 18:22:00 adam Exp $
DISTNAME= qemu-4.1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= https://download.qemu.org/
EXTRACT_SUFX= .tar.xz
@@ -136,12 +136,19 @@ PLIST_VARS+= ${UE_ARCHS} bridge-helper ivshmem nbd pr-helper virtfs-proxy-helpe
PLIST.${pvar}= yes
.endfor
+# different versions of Sphinx generate different static files
+PLIST_SRC= PLIST ${WRKDIR}/PLIST.STATIC
+
TEST_TARGET= check
post-install:
${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \
${DESTDIR}${PREFIX}/share/doc/qemu/
${RM} -f ${DESTDIR}${PREFIX}/share/doc/qemu/interop/.buildinfo
+ ${RM} -f ${DESTDIR}${PREFIX}/share/doc/qemu/specs/.buildinfo
+ ${RM} -f ${WRKDIR}/PLIST.STATIC
+ cd ${DESTDIR}${PREFIX} && \
+ ${FIND} share/doc/qemu -path '*/_static/*' -type f -print > ${WRKDIR}/PLIST.STATIC
# On Darwin, qemu uses Cocoa and CoreAudio
.if ${OPSYS} != "Darwin"
diff --git a/emulators/qemu/PLIST b/emulators/qemu/PLIST
index cf36ffac328..36820691de8 100644
--- a/emulators/qemu/PLIST
+++ b/emulators/qemu/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.61 2019/08/16 15:12:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.62 2019/10/24 18:22:00 adam Exp $
bin/elf2dmp
${PLIST.ivshmem}bin/ivshmem-client
${PLIST.ivshmem}bin/ivshmem-server
@@ -87,30 +87,6 @@ man/man8/qemu-ga.8
man/man8/qemu-nbd.8
share/applications/qemu.desktop
share/doc/qemu/Makefile.multinode-NetBSD
-share/doc/qemu/interop/_static/ajax-loader.gif
-share/doc/qemu/interop/_static/alabaster.css
-share/doc/qemu/interop/_static/basic.css
-share/doc/qemu/interop/_static/comment-bright.png
-share/doc/qemu/interop/_static/comment-close.png
-share/doc/qemu/interop/_static/comment.png
-share/doc/qemu/interop/_static/custom.css
-share/doc/qemu/interop/_static/doctools.js
-share/doc/qemu/interop/_static/documentation_options.js
-share/doc/qemu/interop/_static/down-pressed.png
-share/doc/qemu/interop/_static/down.png
-share/doc/qemu/interop/_static/file.png
-share/doc/qemu/interop/_static/jquery-3.2.1.js
-share/doc/qemu/interop/_static/jquery.js
-share/doc/qemu/interop/_static/language_data.js
-share/doc/qemu/interop/_static/minus.png
-share/doc/qemu/interop/_static/plus.png
-share/doc/qemu/interop/_static/pygments.css
-share/doc/qemu/interop/_static/searchtools.js
-share/doc/qemu/interop/_static/underscore-1.3.1.js
-share/doc/qemu/interop/_static/underscore.js
-share/doc/qemu/interop/_static/up-pressed.png
-share/doc/qemu/interop/_static/up.png
-share/doc/qemu/interop/_static/websupport.js
share/doc/qemu/interop/bitmaps.html
share/doc/qemu/interop/genindex.html
share/doc/qemu/interop/index.html
@@ -127,31 +103,6 @@ share/doc/qemu/qemu-ga-ref.html
share/doc/qemu/qemu-ga-ref.txt
share/doc/qemu/qemu-qmp-ref.html
share/doc/qemu/qemu-qmp-ref.txt
-share/doc/qemu/specs/.buildinfo
-share/doc/qemu/specs/_static/ajax-loader.gif
-share/doc/qemu/specs/_static/alabaster.css
-share/doc/qemu/specs/_static/basic.css
-share/doc/qemu/specs/_static/comment-bright.png
-share/doc/qemu/specs/_static/comment-close.png
-share/doc/qemu/specs/_static/comment.png
-share/doc/qemu/specs/_static/custom.css
-share/doc/qemu/specs/_static/doctools.js
-share/doc/qemu/specs/_static/documentation_options.js
-share/doc/qemu/specs/_static/down-pressed.png
-share/doc/qemu/specs/_static/down.png
-share/doc/qemu/specs/_static/file.png
-share/doc/qemu/specs/_static/jquery-3.2.1.js
-share/doc/qemu/specs/_static/jquery.js
-share/doc/qemu/specs/_static/language_data.js
-share/doc/qemu/specs/_static/minus.png
-share/doc/qemu/specs/_static/plus.png
-share/doc/qemu/specs/_static/pygments.css
-share/doc/qemu/specs/_static/searchtools.js
-share/doc/qemu/specs/_static/underscore-1.3.1.js
-share/doc/qemu/specs/_static/underscore.js
-share/doc/qemu/specs/_static/up-pressed.png
-share/doc/qemu/specs/_static/up.png
-share/doc/qemu/specs/_static/websupport.js
share/doc/qemu/specs/genindex.html
share/doc/qemu/specs/index.html
share/doc/qemu/specs/objects.inv