aboutsummaryrefslogtreecommitdiffstats
path: root/games/xpuyopuyo
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-13 00:35:45 +0800
committerbapt <bapt@FreeBSD.org>2012-06-13 00:35:45 +0800
commitb0ad879e3e23b8ba6d75396d593d1bba436ffed6 (patch)
tree8b078441d20301eb3b13f3b6b3a374c4688468a4 /games/xpuyopuyo
parent624c78988bf68a8f633b795635f8ba4b2fffed13 (diff)
downloadfreebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.tar.gz
freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.tar.zst
freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.zip
Convert to new options framework
Diffstat (limited to 'games/xpuyopuyo')
-rw-r--r--games/xpuyopuyo/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/xpuyopuyo/Makefile b/games/xpuyopuyo/Makefile
index 9ee13ab917da..390cac99eff7 100644
--- a/games/xpuyopuyo/Makefile
+++ b/games/xpuyopuyo/Makefile
@@ -22,13 +22,13 @@ WANT_GNOME= yes
MAN6= xpuyopuyo.6
-OPTIONS= MIKMOD "libmikmod support" off \
- ROTATE_FIXED "Fix position of one blob during rotation" off \
- AIBREED "Allow AI breeding" off
+OPTIONS_DEFINE= MIKMOD ROTATE_FIXED AIBREED
+ROTATE_FIXED_DESC= Fix position of one blob during rotation
+AIBREED_DESC= Allow AI breeding
.include <bsd.port.pre.mk>
-.if defined(WITH_MIKMOD) || exists(${LOCALBASE}/lib/libmikmod.a)
+.if ${PORT_OPTIONS:MMIKMOD} || exists(${LOCALBASE}/lib/libmikmod.a)
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
.endif
@@ -40,10 +40,10 @@ PKGNAMESUFFIX= -gnome
CONFIGURE_ARGS+= --without-gnome
.endif
-.if defined(WITH_ROTATE_FIXED)
+.if ${PORT_OPTIONS:MROTATE_FIXED}
CONFIGURE_ARGS+=--enable-rotate-fixed
.endif
-.if defined(WITH_AIBREED)
+.if ${PORT_OPTIONS:MAIBREED}
CONFIGURE_ARGS+=--enable-aibreed
.endif