1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to use DESKTOP_ENTRIES and OPTIONS.

PR:		ports/144216
Submitted by:	Max Brazhnikov <makc@FreeBSD.org>
Feature safe:	yes
This commit is contained in:
David Thiel 2010-02-22 22:16:40 +00:00
parent 2b65c3a780
commit 96d7e02c32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250210

View File

@ -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