pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/PC6001VX



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Sep 14 01:45:46 UTC 2019

Modified Files:
        pkgsrc/emulators/PC6001VX: Makefile PLIST distinfo options.mk

Log Message:
PC6001VX: update to 3.2.0.

pkgsrc changes:

- README.html is no longer in the distribution tarball
  so make it optional and generate it using asciidoc and
  source-highlight.

Upstream changes (from README.adoc):

.3.2.0 2019/9/14
* Compatible ROM implemented by AKIKAWA Hisashi is now built
  in the emulator. Now the emulator is bootable without genuine ROM.
* Fixed timer interrupt interval on SR models.(temporal fix)
* Assigned Alt+F9/F10 hotkey to state save/load.
* Dropped "Patch the ROM" setting. (Because it made JOYSTICK2 unusable.)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/emulators/PC6001VX/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/PC6001VX/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/emulators/PC6001VX/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/PC6001VX/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/PC6001VX/Makefile
diff -u pkgsrc/emulators/PC6001VX/Makefile:1.33 pkgsrc/emulators/PC6001VX/Makefile:1.34
--- pkgsrc/emulators/PC6001VX/Makefile:1.33     Mon May  6 04:51:55 2019
+++ pkgsrc/emulators/PC6001VX/Makefile  Sat Sep 14 01:45:45 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2019/05/06 04:51:55 tsutsui Exp $
+# $NetBSD: Makefile,v 1.34 2019/09/14 01:45:45 tsutsui Exp $
 
-VERSION=               3.1.3
+VERSION=               3.2.0
 DISTNAME=              PC6001VX_${VERSION}_src
 PKGNAME=               ${DISTNAME:S/_src//:S/_/-/}
 #PKGREVISION=          
@@ -16,7 +16,7 @@ USE_LIBTOOL=          yes
 USE_TOOLS+=            pkg-config
 USE_LANGUAGES=         c c++
 
-INSTALLATION_DIRS+=    bin share/doc/PC6001VX
+INSTALLATION_DIRS+=    bin
 
 .include "options.mk"
 
@@ -27,8 +27,6 @@ do-configure:
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/PC6001VX \
            ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/README.html \
-           ${DESTDIR}${PREFIX}/share/doc/PC6001VX
 
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qtmultimedia/buildlink3.mk"

Index: pkgsrc/emulators/PC6001VX/PLIST
diff -u pkgsrc/emulators/PC6001VX/PLIST:1.3 pkgsrc/emulators/PC6001VX/PLIST:1.4
--- pkgsrc/emulators/PC6001VX/PLIST:1.3 Sat Apr 28 12:29:53 2018
+++ pkgsrc/emulators/PC6001VX/PLIST     Sat Sep 14 01:45:45 2019
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.3 2018/04/28 12:29:53 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/09/14 01:45:45 tsutsui Exp $
 bin/PC6001VX
-share/doc/PC6001VX/README.html
+${PLIST.manual}share/doc/PC6001VX/README.html

Index: pkgsrc/emulators/PC6001VX/distinfo
diff -u pkgsrc/emulators/PC6001VX/distinfo:1.13 pkgsrc/emulators/PC6001VX/distinfo:1.14
--- pkgsrc/emulators/PC6001VX/distinfo:1.13     Mon May  6 04:51:55 2019
+++ pkgsrc/emulators/PC6001VX/distinfo  Sat Sep 14 01:45:45 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2019/05/06 04:51:55 tsutsui Exp $
+$NetBSD: distinfo,v 1.14 2019/09/14 01:45:45 tsutsui Exp $
 
-SHA1 (PC6001VX_3.1.3_src.tar.gz) = f7d0465b356d40cad9e1755cb786cb6e45f2ec93
-RMD160 (PC6001VX_3.1.3_src.tar.gz) = 3c018533d68360ab5d4556cbaaf03bd44cc19fe5
-SHA512 (PC6001VX_3.1.3_src.tar.gz) = c5c7b10cd4f0c73063b6f91884b85683144675cce1946d26a8feb3d8fd754ec72055932084230ecc69ecc121c57cca6801364315184813337913de725ad21b37
-Size (PC6001VX_3.1.3_src.tar.gz) = 4086896 bytes
+SHA1 (PC6001VX_3.2.0_src.tar.gz) = dd3766433d1b235ef74696c756f6c96d8bcd97cf
+RMD160 (PC6001VX_3.2.0_src.tar.gz) = 70756448456d6bac80703554e837f25921db7385
+SHA512 (PC6001VX_3.2.0_src.tar.gz) = 18ac15416f3fa89cf93084bdeb4a56b915f50b04b7148ee14e956a84506e3e4c43c20d7537df91766d404f602ef30e10a005b5ae517d05e87951760ebb27385b
+Size (PC6001VX_3.2.0_src.tar.gz) = 3893509 bytes

Index: pkgsrc/emulators/PC6001VX/options.mk
diff -u pkgsrc/emulators/PC6001VX/options.mk:1.1 pkgsrc/emulators/PC6001VX/options.mk:1.2
--- pkgsrc/emulators/PC6001VX/options.mk:1.1    Sat Dec 22 16:06:30 2018
+++ pkgsrc/emulators/PC6001VX/options.mk        Sat Sep 14 01:45:45 2019
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2018/12/22 16:06:30 tsutsui Exp $
+# $NetBSD: options.mk,v 1.2 2019/09/14 01:45:45 tsutsui Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.PC6001VX
-PKG_SUPPORTED_OPTIONS= debug ffmpeg sdl2
+PKG_SUPPORTED_OPTIONS= debug ffmpeg manual sdl2
 
 # debug enables for debug monitor support, which can be disabled
 # for low performance machines.
@@ -11,6 +11,11 @@ PKG_SUGGESTED_OPTIONS+=      ffmpeg
 # SDL2 is required for joystick support.
 PKG_SUGGESTED_OPTIONS+=        sdl2
 
+# Generate README.html from README.adoc using asciidoc and source-highlight.
+PKG_SUGGESTED_OPTIONS+=        manual
+
+PLIST_VARS+=           manual
+
 .include "../../mk/bsd.options.mk"
 
 .if empty(PKG_OPTIONS:Mdebug)
@@ -28,3 +33,19 @@ QMAKE_ARGS+= "DEFINES+=NOAVI"
 .else
 QMAKE_ARGS+=   "DEFINES+=NOJOYSTICK"
 .endif
+
+.if !empty(PKG_OPTIONS:Mmanual)
+PLIST.manual=  yes
+
+BUILD_DEPENDS+=        asciidoc-[0-9]*:../../textproc/asciidoc
+BUILD_DEPENDS+=        source-highlight-[0-9]*:../../textproc/source-highlight
+
+INSTALLATION_DIRS+=    share/doc/PC6001VX
+
+post-build:
+       cd ${WRKSRC} && asciidoc -o README.html README.adoc
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/README.html \
+           ${DESTDIR}${PREFIX}/share/doc/PC6001VX
+.endif



Home | Main Index | Thread Index | Old Index