aboutsummaryrefslogtreecommitdiff
path: root/emulators/dosbox
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-07-08 21:28:28 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-07-08 21:28:28 +0000
commitda1e8cf6ab2ddd5f75c1957f4b015ac352f88029 (patch)
treee64fb41295d7562de98647cbbb78e4476a1a187b /emulators/dosbox
parentf25057a7bcfa1cda0ebf9eb907a92cd4cf6574e7 (diff)
downloadports-da1e8cf6ab2ddd5f75c1957f4b015ac352f88029.tar.gz
ports-da1e8cf6ab2ddd5f75c1957f4b015ac352f88029.zip
Notes
Diffstat (limited to 'emulators/dosbox')
-rw-r--r--emulators/dosbox/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index d76d9a7e5519..feb3db9178a8 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -27,8 +27,19 @@ DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \
"" "dosbox" \
"System;Emulator;" "true"
+OPTIONS_RADIO= DEBUGGER
+OPTIONS_RADIO_DEBUGGER=DEBUGGER_ENABLE DEBUGGER_HEAVY
+DEBUGGER_ENABLE_DESC=Enable internal debugger
+DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features
+
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDEBUGGER_ENABLE}
+CONFIGURE_ARGS+= --enable-debug=yes
+.elif ${PORT_OPTIONS:MDEBUGGER_HEAVY}
+CONFIGURE_ARGS+= --enable-debug=heavy
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
${WRKSRC}/docs/dosbox.1