aboutsummaryrefslogtreecommitdiff
path: root/emulators/mame
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-06-08 11:58:48 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-06-08 11:58:48 +0000
commitf41e1b6b10edd33c7a4c66c27e3f0f525ead856e (patch)
treed329b726dbf19eed3c2c5eab8be4c1a349480d7a /emulators/mame
parent1f9810cd9e86a412da564f38be55da2e3225c881 (diff)
Notes
Diffstat (limited to 'emulators/mame')
-rw-r--r--emulators/mame/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 542ef9c8d1a8..d563a3140794 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -25,7 +25,9 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= liberation-fonts-ttf>=0:${PORTSDIR}/x11-fonts/liberation-fonts-ttf
-OPTIONS= BUILTIN_DEBUGGER "Enable builtin debugger support" off
+OPTIONS_DEFINE= BUILTIN_DEBUGGER DOCS
+
+BUILTIN_DEBUGGER_DESCR= Enable builtin debugger support
ONLY_FOR_ARCHS= i386 amd64
@@ -54,7 +56,7 @@ UPDATE_PATCHES!= /usr/bin/jot -s " " \
.include <bsd.port.options.mk>
-.if defined(WITH_BUILTIN_DEBUGGER)
+.if ${PORT_OPTIONS:MBUILTIN_DEBUGGER}
USE_GNOME= gtk20 gconf2
MAKE_ENV+= GTK_INCPATH="$$(pkg-config --cflags-only-I gtk+-2.0 gconf-2.0)" \
GTK_CCOMFLAGS="$$(pkg-config --cflags-only-other gtk+-2.0 gconf-2.0)" \
@@ -114,12 +116,12 @@ do-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} artwork ${DATADIR})
@(cd ${WRKSRC} && ${COPYTREE_SHARE} hash ${DATADIR})
@(cd ${WRKSRC}/src/osd/sdl && ${COPYTREE_SHARE} keymaps ${DATADIR})
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${DOCSDIR})
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/mame.ini ${EXAMPLESDIR}
.endif