aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-06-23 22:43:07 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-06-23 22:43:07 +0000
commit49c5b8e209a4bef35f40351e83bdb65d8623823c (patch)
treeff20aa1fd50b70ab531de8b29672645926e88241 /games
parentd97bf61e8019d435dd643b89a00ab4d935ab9867 (diff)
downloadports-49c5b8e209a4bef35f40351e83bdb65d8623823c.tar.gz
ports-49c5b8e209a4bef35f40351e83bdb65d8623823c.zip
Upgrade to OptionsNG
Reviewed by: "Bryan Drewery" <bryan@shatow.net>
Notes
Notes: svn path=/head/; revision=299830
Diffstat (limited to 'games')
-rw-r--r--games/gtklife/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/gtklife/Makefile b/games/gtklife/Makefile
index 88797b967eca..31c7266be327 100644
--- a/games/gtklife/Makefile
+++ b/games/gtklife/Makefile
@@ -36,11 +36,12 @@ DESKTOP_ENTRIES="GtkLife" \
"Application;Game;Simulation;" \
${STARTUP_NOTIFY}
-OPTIONS= GTK2 "use GTK+ 2.0 (beta)" off
+OPTIONS_DEFINE= GTK2
+GTK2_DESC= GTK2 gui toolkit support (beta)
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GTK2)
+.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtk20
MAKE_ARGS+= gtk2=yes
STARTUP_NOTIFY= true
@@ -81,4 +82,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>