Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2010 21:34:25 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144216: games/gltron: add desktop entry
Message-ID:  <201002222134.o1MLYPCs041798@www.freebsd.org>
Resent-Message-ID: <201002222140.o1MLe12g086244@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144216
>Category:       ports
>Synopsis:       games/gltron: add desktop entry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 22 21:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Jan  7 14:44:39 MSK 2010     root@luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA  amd64
>Description:
add desktop entry
convert SDL_NET knob to option
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/gltron/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile	22 Aug 2009 00:22:12 -0000	1.40
+++ Makefile	22 Feb 2010 21:27:34 -0000
@@ -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 @@
 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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002222134.o1MLYPCs041798>