Import pingus-0.7.2
Pingus is a free Lemmings-like game in 2D graphics. <...> Based on a submission from Antti Harri.
This commit is contained in:
parent
8dcc763936
commit
c38b29dbac
58
games/pingus/Makefile
Normal file
58
games/pingus/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/14 14:08:38 ajacoutot Exp $
|
||||
|
||||
COMMENT= free Lemmings-like game
|
||||
|
||||
DISTNAME= pingus-0.7.2
|
||||
CATEGORIES= games x11
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
HOMEPAGE= http://pingus.seul.org/
|
||||
MASTER_SITES= ${HOMEPAGE}files/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += SDL X11 Xi c m png pthread stdc++ z
|
||||
|
||||
MODULES= converters/libiconv \
|
||||
devel/scons
|
||||
|
||||
LIB_DEPENDS= SDL_mixer.>=3::devel/sdl-mixer \
|
||||
SDL_image.>=2::devel/sdl-image \
|
||||
boost_signals::devel/boost
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/src/pingus_main.cpp ${WRKSRC}/doc/pingus.6
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${MODSCONS_BIN} configure \
|
||||
${MODSCONS_ENV} \
|
||||
CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${X11BASE}/include \
|
||||
-I${LOCALBASE}/include/libpng" \
|
||||
LINKFLAGS="-L${LOCALBASE}/lib -lz \
|
||||
-L${X11BASE}/lib" \
|
||||
with_xinput=1 \
|
||||
with_linuxusbmouse=0 \
|
||||
with_wiimote=0 \
|
||||
with_linuxevdev=0
|
||||
|
||||
do-build:
|
||||
@${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share{,/doc}/pingus
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pingus ${PREFIX}/bin/
|
||||
cd ${WRKSRC}/data && pax -rw * ${PREFIX}/share/pingus/
|
||||
${INSTALL_DATA} ${WRKSRC}/README \
|
||||
${PREFIX}/share/doc/pingus/
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/pingus.6 ${PREFIX}/man/man6/
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/pingus/distinfo
Normal file
5
games/pingus/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (pingus-0.7.2.tar.bz2) = iHVoAtSD+SLQkQoUzSapUQ==
|
||||
RMD160 (pingus-0.7.2.tar.bz2) = ZpzQNQSzOmfodSj/ZcPXNukE2Ns=
|
||||
SHA1 (pingus-0.7.2.tar.bz2) = HNOh2SQzel7i4O44fAUT+F1HzbA=
|
||||
SHA256 (pingus-0.7.2.tar.bz2) = jST7qynKlAGuGmo096Uu2l3gqTIJQOdxxvBPmR9dAFI=
|
||||
SIZE (pingus-0.7.2.tar.bz2) = 11055748
|
12
games/pingus/patches/patch-SConstruct
Normal file
12
games/pingus/patches/patch-SConstruct
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-SConstruct,v 1.1.1.1 2009/03/14 14:08:38 ajacoutot Exp $
|
||||
--- SConstruct.orig Sat Mar 14 14:47:21 2009
|
||||
+++ SConstruct Sat Mar 14 14:47:26 2009
|
||||
@@ -422,8 +422,6 @@ if ('configure' in COMMAND_LINE_TARGETS) or \
|
||||
if os.environ.has_key('PKG_CONFIG_PATH'):
|
||||
env['ENV']['PKG_CONFIG_PATH'] = os.environ['PKG_CONFIG_PATH']
|
||||
|
||||
- env['CPPPATH'] += ['.', 'src/']
|
||||
-
|
||||
config_h_defines = []
|
||||
|
||||
config = env.Configure(custom_tests = {
|
12
games/pingus/patches/patch-doc_pingus_6
Normal file
12
games/pingus/patches/patch-doc_pingus_6
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-doc_pingus_6,v 1.1.1.1 2009/03/14 14:08:38 ajacoutot Exp $
|
||||
--- doc/pingus.6.orig Tue Mar 11 18:24:44 2008
|
||||
+++ doc/pingus.6 Tue Mar 11 18:25:43 2008
|
||||
@@ -15,7 +15,7 @@ For a list of available options use:
|
||||
.B % pingus --help
|
||||
|
||||
.SH "SEE ALSO"
|
||||
-/usr/share/doc/pingus
|
||||
+${PREFIX}/share/doc/pingus
|
||||
|
||||
http://pingus.seul.org
|
||||
|
11
games/pingus/patches/patch-src_pingus_main_cpp
Normal file
11
games/pingus/patches/patch-src_pingus_main_cpp
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_pingus_main_cpp,v 1.1.1.1 2009/03/14 14:08:38 ajacoutot Exp $
|
||||
--- src/pingus_main.cpp.orig Tue Oct 30 09:39:56 2007
|
||||
+++ src/pingus_main.cpp Sat Mar 14 15:07:08 2009
|
||||
@@ -593,6 +593,7 @@ PingusMain::init_path_finder()
|
||||
}
|
||||
|
||||
char* exe_path = br_find_exe_dir(".");
|
||||
+ path_manager.add_path(std::string("${PREFIX}/share/pingus/"));
|
||||
path_manager.add_path(exe_path + std::string("/../share/pingus/data/"));
|
||||
path_manager.add_path(exe_path + std::string("/data"));
|
||||
path_manager.add_path("data"); // assume game is run from source dir, without any magic
|
9
games/pingus/pkg/DESCR
Normal file
9
games/pingus/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Pingus is a free Lemmings-like game in 2D graphics.
|
||||
|
||||
If you don't know Lemmings, here comes a short introduction. It's a
|
||||
puzzle game developed in 1991 by DMA Design. The player takes command in
|
||||
the game of a bunch of small animals and has to guide them around in
|
||||
levels. Since the animals walk on their own, the player can only
|
||||
influence them by giving them commands, like build a bridge, dig a hole
|
||||
or redirect all animals in the other direction. The goal of each level
|
||||
is to reach the exit, by combining multiple actions.
|
1562
games/pingus/pkg/PLIST
Normal file
1562
games/pingus/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user