svn commit: r309175 - head/games/twind
Lars Engels
lme at FreeBSD.org
Tue Dec 18 13:09:12 UTC 2012
Author: lme
Date: Tue Dec 18 13:09:11 2012
New Revision: 309175
URL: http://svnweb.freebsd.org/changeset/ports/309175
Log:
- Add a desktop entry
- Move plist to pkg-plist
- Remove comments in Makefile
- Bump PORTREVISION
PR: ports/174537
Submitted by: nemysis at gmx.ch (maintainer)
Added:
head/games/twind/pkg-plist (contents, props changed)
Modified:
head/games/twind/Makefile (contents, props changed)
Modified: head/games/twind/Makefile
==============================================================================
--- head/games/twind/Makefile Tue Dec 18 12:36:46 2012 (r309174)
+++ head/games/twind/Makefile Tue Dec 18 13:09:11 2012 (r309175)
@@ -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 @@ LICENSE= GPLv2
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 @@ do-build:
-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>
Added: head/games/twind/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/twind/pkg-plist Tue Dec 18 13:09:11 2012 (r309175)
@@ -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
+ at dirrm %%DATADIR%%/sound
+ at dirrm %%DATADIR%%/music
+ at dirrm %%DATADIR%%/graphics
+ at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list