pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: deal with static files generated ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b05cd9f268f
branches:  trunk
changeset: 342720:5b05cd9f268f
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 24 18:22:00 2019 +0000

description:
qemu: deal with static files generated by Sphinx

diffstat:

 emulators/qemu/Makefile |  11 ++++++++-
 emulators/qemu/PLIST    |  51 +------------------------------------------------
 2 files changed, 10 insertions(+), 52 deletions(-)

diffs (105 lines):

diff -r 630ea75fd70e -r 5b05cd9f268f emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Thu Oct 24 17:55:22 2019 +0000
+++ b/emulators/qemu/Makefile   Thu Oct 24 18:22:00 2019 +0000
@@ -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.${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 -r 630ea75fd70e -r 5b05cd9f268f emulators/qemu/PLIST
--- a/emulators/qemu/PLIST      Thu Oct 24 17:55:22 2019 +0000
+++ b/emulators/qemu/PLIST      Thu Oct 24 18:22:00 2019 +0000
@@ -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-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.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



Home | Main Index | Thread Index | Old Index