aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/generator
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-12 18:34:46 +0800
committerbapt <bapt@FreeBSD.org>2012-06-12 18:34:46 +0800
commitc9a16767f1848302b7ee4bb49ddcbac52d489ad5 (patch)
tree1aae4ab22bf7a2dda9a06a005fdcfb73e66b5ce5 /emulators/generator
parenta5c02e972e35e059aa5e9dc0b268ff605f241fbf (diff)
downloadfreebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.tar.gz
freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.tar.zst
freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.zip
Convert to new options framework
Diffstat (limited to 'emulators/generator')
-rw-r--r--emulators/generator/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index 28b3de210c98..d9afe2e18028 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -29,28 +29,28 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
MAKE_JOBS_UNSAFE= yes
-OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on \
- RAZE "Use RAZE z80 emulation (only for i386)" on \
- SDL_AUDIO "Use SDL for audio" off
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS RAZE SDL
+RAZE_DESC= Use RAZE z80 emulation (only for i386)
+SDL_DESC= Use SDL for audio
PLIST_FILES= bin/${PORTNAME}-gtk
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CONFIGURE_ARGS+=--with-gcc=3
.else
CONFIGURE_ARGS+=--without-gcc
.endif
-.if !defined(WITHOUT_RAZE) && ${ARCH} == "i386"
+.if ${PORT_OPTIONS:MRAZE} && ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
CONFIGURE_ARGS+=--with-raze
.else
CONFIGURE_ARGS+=--with-cmz80
.endif
-.if defined(WITH_SDL_AUDIO)
+.if ${PORT_OPTIONS:MSDL}
CONFIGURE_ARGS+=--with-sdl-audio
.endif