ports/149813: games/gl-117: add desktop entry

Max Brazhnikov makc at FreeBSD.org
Thu Aug 19 19:40:05 UTC 2010


>Number:         149813
>Category:       ports
>Synopsis:       games/gl-117: 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:   Thu Aug 19 19:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.1-STABLE FreeBSD 8.1-STABLE #9: Tue Aug 17 22:24:58 MSD 2010     root at luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA  amd64
>Description:
Add desktop entry
Install man page and documentation
Pacify portlint
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/gl-117/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile	22 Aug 2009 00:22:11 -0000	1.34
+++ Makefile	19 Aug 2010 11:10:26 -0000
@@ -8,10 +8,10 @@
 
 PORTNAME=	gl-117
 PORTVERSION=	1.3.2
-PORTREVISION=	5
+DISTVERSIONSUFFIX=	-src
+PORTREVISION=	6
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/GL-117%20Source
-DISTVERSIONSUFFIX=	-src
 
 MAINTAINER=	erik at smluc.org
 COMMENT=	An OpenGL & SDL action flight simulator
@@ -23,4 +23,20 @@
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
+DESKTOP_ENTRIES=	"GL-117" \
+			"Action flight simulator" \
+			"" \
+			"gl-117" \
+			"Game;ArcadeGame;" \
+			false
+
+MAN6=		gl-117.6
+
+post-install:
+	${INSTALL_MAN}	${WRKSRC}/doc/gl-117.6 ${MANPREFIX}/man/man6
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/gl-117.pdf ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/games/gl-117/pkg-plist,v
retrieving revision 1.12
diff -u -r1.12 pkg-plist
--- pkg-plist	14 Jun 2004 18:15:00 -0000	1.12
+++ pkg-plist	19 Aug 2010 11:14:08 -0000
@@ -1,4 +1,5 @@
 bin/gl-117
+%%PORTDOCS%%%%DOCSDIR%%/gl-117.pdf
 %%DATADIR%%/models/aster1.3ds
 %%DATADIR%%/models/barrier.3ds
 %%DATADIR%%/models/base1.3ds
@@ -167,3 +168,4 @@
 @dirrm %%DATADIR%%/sounds
 @dirrm %%DATADIR%%/textures
 @dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%


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



More information about the freebsd-ports-bugs mailing list