- Add OPTIONS to enable internal debugger

PR:		ports/179924
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru>
Approved by:	Tom Carrick <knyght@gmail.com> (maintainer)
This commit is contained in:
Felippe de Meirelles Motta 2013-07-08 21:28:28 +00:00
parent f25057a7bc
commit da1e8cf6ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322539

View File

@ -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