1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Pachi el marciano is a platforms game inspired by games like Manic Miner and

Jet Set Willy from the legend Mathew Smith.

The goal of the game is to collect all the objects of each level, when this is
made, the exit gate to the next stage will appear and you can pass trough.

Pachi is a comic character created by Nicolas Radeff in 2001.

PR:		86845
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
Approved by:	novel (mentor)
This commit is contained in:
Emanuel Haupt 2005-10-06 12:13:26 +00:00
parent c7b8eb3195
commit 04e6594d69
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144391
6 changed files with 153 additions and 0 deletions

View File

@ -401,6 +401,7 @@
SUBDIR += p5-Games-Bingo-Print
SUBDIR += p5-Games-Dice
SUBDIR += p5-Games-Sequential
SUBDIR += pachi
SUBDIR += pathological
SUBDIR += pcgen
SUBDIR += pengpong

55
games/pachi/Makefile Normal file
View File

@ -0,0 +1,55 @@
# New ports collection makefile for: pachi
# Date created: 18 Sep 2005
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= pachi
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dragontech
DISTNAME= pachi_source
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@mail.ru
COMMENT= A platforms game similar to Manic Miner
USE_SDL= mixer sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" CXX="${CXX}"
WRKSRC= ${WRKDIR}/Pachi
SCOREDIR= /var/games/pachi
SCOREFILE= ${SCOREDIR}/scores.dat
post-patch:
@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/faes.cpp
@${REINPLACE_CMD} -e 's|/var/lib/games/$$PACKAGE|${SCOREDIR}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|SCOREDIR[^,]*|"${SCOREFILE}"|' \
${WRKSRC}/src/file.c
@${REINPLACE_CMD} -e 's|:\ install-docDATA|:|' \
${WRKSRC}/docs/Makefile.in
@${REINPLACE_CMD} -e 's|install-scoreDATA\ install-data-local||' \
${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}
.include <bsd.port.mk>

2
games/pachi/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (pachi_source.tgz) = 64906110d6236adc15c81910b43a1ae9
SIZE (pachi_source.tgz) = 3215871

11
games/pachi/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Pachi el marciano is a platforms game inspired by games like Manic Miner and
Jet Set Willy from the legend Mathew Smith.
The goal of the game is to collect all the objects of each level, when this is
made, the exit gate to the next stage will appear and you can pass trough.
Pachi is a comic character created by Nicolas Radeff in 2001.
WWW: http://dragontech.sourceforge.net/
- Dmitry Marakasov <amdmi3@mail.ru>

16
games/pachi/pkg-install Normal file
View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# $FreeBSD$
SCOREDIR="/var/games/pachi"
SCOREFILE="/var/games/pachi/scores.dat"
[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
echo "Creating hiscore file..."
mkdir -p "$SCOREDIR"
# Empty scorefile seem to contain 170 zero bytes
truncate -s 170 "$SCOREFILE"
chgrp -R games "$SCOREDIR"
chmod g+w "$SCOREFILE"

68
games/pachi/pkg-plist Normal file
View File

@ -0,0 +1,68 @@
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%%