mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
nPush is a logic game similar to Sokoban and Boulder Dash. You need
to collect all the gold on the level and reach the exit. To make it hard there are some rocks that stand in your way, and you also have some dynamite to blast them away. Main difference from Sokoban, KSokoban and similar games is that you can have multiple player-controlled characters you can move on the screen. nPush is written in C++. The source code is freely available under GPL license, version 2 or above. The code is very simple, so if you're interested in working on your C++ skills on a simple project, please feel free to join in. WWW: http://npush.sourceforge.net/ Approved by: miwi (mentor)
This commit is contained in:
parent
94c2cca151
commit
74b8776533
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216418
@ -534,6 +534,7 @@
|
||||
SUBDIR += noegnud-nethack-deet
|
||||
SUBDIR += noegnud-slashem
|
||||
SUBDIR += nonsense
|
||||
SUBDIR += npush
|
||||
SUBDIR += nuclearchess
|
||||
SUBDIR += nwndata
|
||||
SUBDIR += odamex
|
||||
|
37
games/npush/Makefile
Normal file
37
games/npush/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: npush
|
||||
# Date created: 05 Jul 2008
|
||||
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= npush
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= A curses-based logic game similar to Sokoban and Boulder Dash
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/opendir/ s|"\."|"${DATADIR}"|; \
|
||||
/"rb"/ s|name|(std::string("${DATADIR}/")+&)|' \
|
||||
${WRKSRC}/npush.cpp
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o npush npush.cpp -lncurses
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/npush ${PREFIX}/bin
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Level* ${DATADIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/index.html ${WRKSRC}/readme.txt \
|
||||
${WRKSRC}/screenshot?.png ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/npush/distinfo
Normal file
3
games/npush/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (npush-0.6.tgz) = 6670aac74dd7db005462c11c5688db52
|
||||
SHA256 (npush-0.6.tgz) = a8f2b34e9101e6da82cb11fe5ab7edbed4257a5190faaa2f737641838059e781
|
||||
SIZE (npush-0.6.tgz) = 92318
|
13
games/npush/pkg-descr
Normal file
13
games/npush/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
nPush is a logic game similar to Sokoban and Boulder Dash. You need
|
||||
to collect all the gold on the level and reach the exit. To make
|
||||
it hard there are some rocks that stand in your way, and you also
|
||||
have some dynamite to blast them away. Main difference from Sokoban,
|
||||
KSokoban and similar games is that you can have multiple player-controlled
|
||||
characters you can move on the screen.
|
||||
|
||||
nPush is written in C++. The source code is freely available under
|
||||
GPL license, version 2 or above. The code is very simple, so if
|
||||
you're interested in working on your C++ skills on a simple project,
|
||||
please feel free to join in.
|
||||
|
||||
WWW: http://npush.sourceforge.net/
|
13
games/npush/pkg-plist
Normal file
13
games/npush/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
bin/npush
|
||||
%%DATADIR%%/Level 01 - Gold and Exit
|
||||
%%DATADIR%%/Level 02 - Rocks
|
||||
%%DATADIR%%/Level 03 - Dynamite
|
||||
%%DATADIR%%/Level 04 - The Show Starts
|
||||
%%DATADIR%%/Level 05 - The Triangle
|
||||
%%DATADIR%%/Level 06 - Moving along
|
||||
%%DATADIR%%/Level 07 - Duality
|
||||
%%DATADIR%%/Level 08 - Traps and Treasure
|
||||
%%DATADIR%%/Level 09 - Cooperation
|
||||
%%DATADIR%%/Level 10 - Golden Age
|
||||
%%DATADIR%%/Level 11 - Story of a lifetime
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user