summaryrefslogtreecommitdiff
path: root/games/gltron
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2010-02-22 22:16:40 +0000
committerDavid Thiel <lx@FreeBSD.org>2010-02-22 22:16:40 +0000
commit96d7e02c3222c65a0ee33ccec7b8e7e84b02c2a5 (patch)
tree26b1bf8213778c621aa49a7a894f34b1c7e49b59 /games/gltron
parentRestore qtestlib dependency. (diff)
Update to use DESKTOP_ENTRIES and OPTIONS.
PR: ports/144216 Submitted by: Max Brazhnikov <makc@FreeBSD.org> Feature safe: yes
Notes
Notes: svn path=/head/; revision=250210
Diffstat (limited to 'games/gltron')
-rw-r--r--games/gltron/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/games/gltron/Makefile b/games/gltron/Makefile
index f2ac920084fc..b6350ce881de 100644
--- a/games/gltron/Makefile
+++ b/games/gltron/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gltron
PORTVERSION= 0.70
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
EXTRACT_SUFX= -source.tar.gz
@@ -27,6 +27,17 @@ CONFIGURE_ARGS= --disable-warn
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+OPTIONS= SDL_NET "With network support" off
+
+DESKTOP_ENTRIES= "GLtron" \
+ "3D lightcycle game" \
+ "${DATADIR}/art/default/gltron.png" \
+ "gltron" \
+ "Game;ArcadeGame;" \
+ false
+
+.include <bsd.port.options.mk>
+
.if defined(WITH_SDL_NET)
USE_SDL+= net
CONFIGURE_ARGS+= --enable-network