[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / PC6001VX

File: [cvs.NetBSD.org] / pkgsrc / emulators / PC6001VX / options.mk (download)

Revision 1.2, Sat Sep 14 01:45:45 2019 UTC (14 months, 1 week ago) by tsutsui
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, HEAD
Changes since 1.1: +23 -2 lines

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.)

# $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 manual sdl2

# debug enables for debug monitor support, which can be disabled
# for low performance machines.
PKG_SUGGESTED_OPTIONS+=	debug
# ffmpeg is required for video capture support.
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)
QMAKE_ARGS+=	"DEFINES+=NOMONITOR"
.endif

.if !empty(PKG_OPTIONS:Mffmpeg)
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.else
QMAKE_ARGS+=	"DEFINES+=NOAVI"
.endif

.if !empty(PKG_OPTIONS:Msdl2)
.include "../../devel/SDL2/buildlink3.mk"
.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