ports/144216: games/gltron: add desktop entry

Max Brazhnikov makc at FreeBSD.org
Mon Feb 22 21:40:02 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list