aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtklife
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-06-24 06:43:07 +0800
committereadler <eadler@FreeBSD.org>2012-06-24 06:43:07 +0800
commit3670cd6666dc0bede7acc496b705abd8ef69f740 (patch)
tree08aebdb62a30492ca8b32761675dd5390b8db15f /games/gtklife
parentdae527eb2778bc87afb3ab55088b7d61de9f33e6 (diff)
downloadfreebsd-ports-gnome-3670cd6666dc0bede7acc496b705abd8ef69f740.tar.gz
freebsd-ports-gnome-3670cd6666dc0bede7acc496b705abd8ef69f740.tar.zst
freebsd-ports-gnome-3670cd6666dc0bede7acc496b705abd8ef69f740.zip
Upgrade to OptionsNG
Reviewed by: "Bryan Drewery" <bryan@shatow.net>
Diffstat (limited to 'games/gtklife')
-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>