Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 13:10:39 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174537: [MAINTAINER] games/twind: Changed Makefile, added Desktop entries, pkg-plist, removed all Notes
Message-ID:  <20121218121049.D33B8E3A@hub.freebsd.org>
Resent-Message-ID: <201212181220.qBICK0p1012310@freefall.freebsd.org>

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

>Number:         174537
>Category:       ports
>Synopsis:       [MAINTAINER] games/twind: Changed Makefile, added Desktop entries, pkg-plist, removed all Notes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 12:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile changed:
-PLIST_FILES=
-PORTDATA=	*
+DESKTOP_ENTRIES=

Removed all Notes

Added file(s):
- pkg-plist

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- twind-1.1.0_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/twind/Makefile ./Makefile
--- /usr/ports/games/twind/Makefile	2012-12-05 00:44:42.000000000 +0100
+++ ./Makefile	2012-12-18 13:05:23.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	twind
 PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
@@ -19,12 +19,11 @@
 USE_SDL=	sdl image mixer
 MAKE_JOBS_SAFE=	yes
 
-PLIST_FILES=	bin/${PORTNAME} \
-		share/pixmaps/${PORTNAME}.png
-
-PORTDATA=	*
 PORTDOCS=	AUTHORS CREDITS ChangeLog NEWS README TODO
 
+DESKTOP_ENTRIES="Twin Distress" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
 .include <bsd.port.options.mk>
 
 do-build:
@@ -32,22 +31,15 @@
 		-DDATA_PREFIX=\"${DATADIR}/\" -DAUDIO -DLINUX \
 		-lm `${SDL_CONFIG} --cflags --libs` -lSDL_mixer -lSDL_image twind.c
 do-install:
-# Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-# Data
 	${MKDIR} ${DATADIR}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${DATADIR})
 
-# Pixmaps
-	${INSTALL_DATA} ${WRKSRC}/graphics/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+	${INSTALL_DATA} ${WRKSRC}/graphics/${PORTNAME}.png ${PREFIX}/share/pixmaps
 
-# Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/twind/pkg-plist ./pkg-plist
--- /usr/ports/games/twind/pkg-plist	1970-01-01 01:00:00.000000000 +0100
+++ ./pkg-plist	2012-12-18 13:00:29.000000000 +0100
@@ -0,0 +1,57 @@
+bin/twind
+share/pixmaps/twind.png
+%%DATADIR%%/graphics/background.png
+%%DATADIR%%/graphics/beveled.png
+%%DATADIR%%/graphics/black_l.png
+%%DATADIR%%/graphics/black_r.png
+%%DATADIR%%/graphics/bricks.png
+%%DATADIR%%/graphics/brushed_metal.png
+%%DATADIR%%/graphics/circles.png
+%%DATADIR%%/graphics/freeserif_green_20.png
+%%DATADIR%%/graphics/freeserif_green_24.png
+%%DATADIR%%/graphics/freeserif_white_20.png
+%%DATADIR%%/graphics/freeserif_white_24.png
+%%DATADIR%%/graphics/highlight1.png
+%%DATADIR%%/graphics/highlight2.png
+%%DATADIR%%/graphics/highlight3.png
+%%DATADIR%%/graphics/highlight4.png
+%%DATADIR%%/graphics/left_mouse_highlight.png
+%%DATADIR%%/graphics/path_blocks.png
+%%DATADIR%%/graphics/pyramids.png
+%%DATADIR%%/graphics/right_mouse_highlight.png
+%%DATADIR%%/graphics/snake_skin.png
+%%DATADIR%%/graphics/timer_empty.png
+%%DATADIR%%/graphics/timer_empty_white.png
+%%DATADIR%%/graphics/timer_full.png
+%%DATADIR%%/graphics/timer_full_white.png
+%%DATADIR%%/graphics/title_big.png
+%%DATADIR%%/graphics/title_small.png
+%%DATADIR%%/graphics/twind.png
+%%DATADIR%%/graphics/volume_bar.png
+%%DATADIR%%/graphics/volume_slider.png
+%%DATADIR%%/graphics/white_l.png
+%%DATADIR%%/graphics/white_r.png
+%%DATADIR%%/music/0-0.ogg
+%%DATADIR%%/music/0-1.ogg
+%%DATADIR%%/music/1-1.ogg
+%%DATADIR%%/music/1-2.ogg
+%%DATADIR%%/music/2-1.ogg
+%%DATADIR%%/music/2-2.ogg
+%%DATADIR%%/music/3-1.ogg
+%%DATADIR%%/music/3-2.ogg
+%%DATADIR%%/music/4-1.ogg
+%%DATADIR%%/music/4-2.ogg
+%%DATADIR%%/music/5-1.ogg
+%%DATADIR%%/music/5-2.ogg
+%%DATADIR%%/music/6-1.ogg
+%%DATADIR%%/music/6-2.ogg
+%%DATADIR%%/sound/apply_bonus.wav
+%%DATADIR%%/sound/eliminate_blocks.wav
+%%DATADIR%%/sound/keyboard_click.wav
+%%DATADIR%%/sound/menu_option.wav
+%%DATADIR%%/sound/option_choice.wav
+%%DATADIR%%/sound/wrong_move.wav
+@dirrm %%DATADIR%%/sound
+@dirrm %%DATADIR%%/music
+@dirrm %%DATADIR%%/graphics
+@dirrm %%DATADIR%%
--- twind-1.1.0_2.patch ends here ---

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



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