mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Support staging
- Convert USE_GMAKE to USES - Add DESKTOP_ENTRIES
This commit is contained in:
parent
f110811263
commit
7e548627c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330712
@ -10,10 +10,10 @@ DISTNAME= pachi_source
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= A platforms game similar to Manic Miner
|
||||
COMMENT= Platform game similar to Manic Miner
|
||||
|
||||
USE_SDL= mixer sdl
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
@ -24,7 +24,16 @@ WRKSRC= ${WRKDIR}/Pachi
|
||||
SCOREDIR= /var/games/pachi
|
||||
SCOREFILE= ${SCOREDIR}/scores.dat
|
||||
|
||||
NO_STAGE= yes
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDATA= *
|
||||
|
||||
DESKTOP_ENTRIES="Pachi el marciano" \
|
||||
"${COMMENT}" \
|
||||
"${DATADIR}/Tgfx/icon.bmp" \
|
||||
"${PORTNAME}" \
|
||||
"Game;ActionGame;" \
|
||||
""
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/var/lib/games/$$PACKAGE|${SCOREDIR}|' \
|
||||
${WRKSRC}/configure
|
||||
@ -36,13 +45,7 @@ post-patch:
|
||||
${WRKSRC}/data/Makefile.in
|
||||
|
||||
post-install:
|
||||
${CHGRP} games ${PREFIX}/bin/pachi
|
||||
${CHMOD} g+s ${PREFIX}/bin/pachi
|
||||
${MKDIR} ${SCOREDIR}
|
||||
.if !exists(${SCOREFILE})
|
||||
${INSTALL_DATA} ${WRKSRC}/data/scores.dat /var/games/pachi
|
||||
.endif
|
||||
${CHGRP} -R games ${SCOREDIR}
|
||||
${CHMOD} g+w ${SCOREFILE}
|
||||
${CHGRP} games ${STAGEDIR}${PREFIX}/bin/pachi
|
||||
${CHMOD} g+s ${STAGEDIR}${PREFIX}/bin/pachi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,68 +0,0 @@
|
||||
bin/pachi
|
||||
%%DATADIR%%/Tgfx/backgrounds.T8
|
||||
%%DATADIR%%/Tgfx/bright.T8
|
||||
%%DATADIR%%/Tgfx/castle.T8
|
||||
%%DATADIR%%/Tgfx/cave.T8
|
||||
%%DATADIR%%/Tgfx/cemetery.T8
|
||||
%%DATADIR%%/Tgfx/comic_01.T8
|
||||
%%DATADIR%%/Tgfx/comic_02.T8
|
||||
%%DATADIR%%/Tgfx/comic_03.T8
|
||||
%%DATADIR%%/Tgfx/comic_04.T8
|
||||
%%DATADIR%%/Tgfx/comic_05.T8
|
||||
%%DATADIR%%/Tgfx/comic_06.T8
|
||||
%%DATADIR%%/Tgfx/comic_07.T8
|
||||
%%DATADIR%%/Tgfx/comic_08.T8
|
||||
%%DATADIR%%/Tgfx/comic_09.T8
|
||||
%%DATADIR%%/Tgfx/comic_10.T8
|
||||
%%DATADIR%%/Tgfx/comic_11.T8
|
||||
%%DATADIR%%/Tgfx/comic_12.T8
|
||||
%%DATADIR%%/Tgfx/comic_13.T8
|
||||
%%DATADIR%%/Tgfx/comic_14.T8
|
||||
%%DATADIR%%/Tgfx/dragontech.T8
|
||||
%%DATADIR%%/Tgfx/endcredits.T8
|
||||
%%DATADIR%%/Tgfx/gameover.T8
|
||||
%%DATADIR%%/Tgfx/gamepanel.T8
|
||||
%%DATADIR%%/Tgfx/help.T8
|
||||
%%DATADIR%%/Tgfx/icon.bmp
|
||||
%%DATADIR%%/Tgfx/intro.T8
|
||||
%%DATADIR%%/Tgfx/lab.T8
|
||||
%%DATADIR%%/Tgfx/left.T8
|
||||
%%DATADIR%%/Tgfx/line1.T8
|
||||
%%DATADIR%%/Tgfx/line2.T8
|
||||
%%DATADIR%%/Tgfx/monsters.T8
|
||||
%%DATADIR%%/Tgfx/pachi.T8
|
||||
%%DATADIR%%/Tgfx/right.T8
|
||||
%%DATADIR%%/Tgfx/tiles.T8
|
||||
%%DATADIR%%/data/backs.dat
|
||||
%%DATADIR%%/data/monsters.dat
|
||||
%%DATADIR%%/data/objects_v2.dat
|
||||
%%DATADIR%%/data/rooms_v2.dat
|
||||
%%DATADIR%%/fonts/font1.T8
|
||||
%%DATADIR%%/fonts/font16a.T
|
||||
%%DATADIR%%/fonts/font16b.T
|
||||
%%DATADIR%%/fonts/font16c.T
|
||||
%%DATADIR%%/fonts/font16d.T
|
||||
%%DATADIR%%/fonts/font32r.T8
|
||||
%%DATADIR%%/fonts/font32v.T8
|
||||
%%DATADIR%%/music/credits.s3m
|
||||
%%DATADIR%%/music/menu.s3m
|
||||
%%DATADIR%%/music/stage1.s3m
|
||||
%%DATADIR%%/music/stage2.stm
|
||||
%%DATADIR%%/music/stage3.s3m
|
||||
%%DATADIR%%/music/stage4.s3m
|
||||
%%DATADIR%%/sounds/die.wav
|
||||
%%DATADIR%%/sounds/exit.wav
|
||||
%%DATADIR%%/sounds/jump.wav
|
||||
%%DATADIR%%/sounds/obj.wav
|
||||
%%DATADIR%%/sounds/objseq.wav
|
||||
%%DATADIR%%/sounds/option.wav
|
||||
%%DATADIR%%/sounds/respawn.wav
|
||||
%%DATADIR%%/sounds/stageready.wav
|
||||
%%DATADIR%%/sounds/storm.wav
|
||||
%%DATADIR%%/sounds/timer.wav
|
||||
@dirrm %%DATADIR%%/Tgfx
|
||||
@dirrm %%DATADIR%%/data
|
||||
@dirrm %%DATADIR%%/fonts
|
||||
@dirrm %%DATADIR%%/music
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user