mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Add a desktop entry
- Move plist to pkg-plist - Remove comments in Makefile - Bump PORTREVISION PR: ports/174537 Submitted by: nemysis@gmx.ch (maintainer)
This commit is contained in:
parent
33bd5eb62c
commit
e25988554c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309175
@ -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>
|
||||
|
57
games/twind/pkg-plist
Normal file
57
games/twind/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user