From nobody@FreeBSD.org  Mon Feb 22 21:34:26 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3C932106568B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Feb 2010 21:34:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 2D7AF8FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Feb 2010 21:34:26 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1MLYQKa041799
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Feb 2010 21:34:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1MLYPCs041798;
	Mon, 22 Feb 2010 21:34:25 GMT
	(envelope-from nobody)
Message-Id: <201002222134.o1MLYPCs041798@www.freebsd.org>
Date: Mon, 22 Feb 2010 21:34:25 GMT
From: Max Brazhnikov <makc@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: games/gltron: add desktop entry
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144216
>Category:       ports
>Synopsis:       games/gltron: add desktop entry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lx
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 22 21:40:01 UTC 2010
>Closed-Date:    Mon Feb 22 22:17:46 UTC 2010
>Last-Modified:  Mon Feb 22 22:20:00 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->lx 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 22 21:40:18 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144216 
State-Changed-From-To: open->closed 
State-Changed-By: lx 
State-Changed-When: Mon Feb 22 22:17:18 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144216 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144216: commit references a PR
Date: Mon, 22 Feb 2010 22:16:54 +0000 (UTC)

 lx          2010-02-22 22:16:40 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/gltron         Makefile 
   Log:
   Update to use DESKTOP_ENTRIES and OPTIONS.
   
   PR:             ports/144216
   Submitted by:   Max Brazhnikov <makc@FreeBSD.org>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.41      +12 -1     ports/games/gltron/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
