summaryrefslogtreecommitdiff
path: root/emulators/fuse-emulator/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2016-01-17 14:27:38 +0000
committerwiz <wiz>2016-01-17 14:27:38 +0000
commit3525656728de20236a9bcf7fb5aa050cacb28fad (patch)
tree7c6feadabc8a5979b991165e146626fada75a8a5 /emulators/fuse-emulator/options.mk
parent3820d83ae585e46b52420fa28cb5dd737f649c26 (diff)
downloadpkgsrc-3525656728de20236a9bcf7fb5aa050cacb28fad.tar.gz
Re-import emulators/fuse as emulators/fuse-emulator to fix PKGNAME conflict
with filesystems/fuse. From Kamil Rytarowski in PR 50662. Fuse is the Free Unix Spectrum Emulator. * Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy speed on any computer you're likely to try it on. * Support for loading from .tzx files. * Sound (on system supporting the Open Sound System or BSD/Solaris). * Kempston joystick emulation. * Emulation of the various printers you could attach to the Spectrum. * Very basic support for RZX files.
Diffstat (limited to 'emulators/fuse-emulator/options.mk')
-rw-r--r--emulators/fuse-emulator/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/fuse-emulator/options.mk b/emulators/fuse-emulator/options.mk
new file mode 100644
index 00000000000..12e586d85d6
--- /dev/null
+++ b/emulators/fuse-emulator/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2016/01/17 14:27:38 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.fuse
+PKG_SUPPORTED_OPTIONS= sdl gtk
+PKG_SUGGESTED_OPTIONS= gtk
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk)
+CONFIGURE_ARGS+= --with-gtk2
+.include "../../x11/gtk2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+= --with-sdl
+.include "../../devel/SDL/buildlink3.mk"
+.endif