diff options
-rw-r--r-- | emulators/PC6001VX/Makefile | 8 | ||||
-rw-r--r-- | emulators/PC6001VX/PLIST | 4 | ||||
-rw-r--r-- | emulators/PC6001VX/distinfo | 10 | ||||
-rw-r--r-- | emulators/PC6001VX/options.mk | 25 |
4 files changed, 33 insertions, 14 deletions
diff --git a/emulators/PC6001VX/Makefile b/emulators/PC6001VX/Makefile index e350359d5d7..56c20d9af30 100644 --- a/emulators/PC6001VX/Makefile +++ b/emulators/PC6001VX/Makefile @@ -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" diff --git a/emulators/PC6001VX/PLIST b/emulators/PC6001VX/PLIST index 78ced6f6d3f..2e9ec37a94d 100644 --- a/emulators/PC6001VX/PLIST +++ b/emulators/PC6001VX/PLIST @@ -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 diff --git a/emulators/PC6001VX/distinfo b/emulators/PC6001VX/distinfo index b2a4190893f..e649594488e 100644 --- a/emulators/PC6001VX/distinfo +++ b/emulators/PC6001VX/distinfo @@ -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 diff --git a/emulators/PC6001VX/options.mk b/emulators/PC6001VX/options.mk index 04c90585a72..99c39cd7948 100644 --- a/emulators/PC6001VX/options.mk +++ b/emulators/PC6001VX/options.mk @@ -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 |