Import beret-1.2.1,
a 2D puzzle-platformer game about a telekinetic scientist. Submitted by Brian Callahan <bcallah at devio dot us> (MAINTAINER). Testing on amd64 and ok edd@.
This commit is contained in:
parent
4e1e02f27d
commit
2624bd476a
50
games/beret/Makefile
Normal file
50
games/beret/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/02/27 22:07:49 schwarze Exp $
|
||||
|
||||
COMMENT= 2D puzzle-platformer game
|
||||
DISTNAME= beret-1.2.1
|
||||
CATEGORIES= games x11
|
||||
|
||||
HOMEPAGE= http://kiwisauce.com/beret/
|
||||
|
||||
MAINTAINER= Brian Callahan <bcallah@devio.us>
|
||||
|
||||
# LGPLv3
|
||||
# AveriaSans-regular.ttf: SIL Open Font License
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += c m SDL SDL_image SDL_mixer
|
||||
WANTLIB += SDL_ttf pthread
|
||||
|
||||
MASTER_SITES= http://devio.us/~bcallah/
|
||||
|
||||
LIB_DEPENDS= devel/sdl \
|
||||
devel/sdl-image \
|
||||
devel/sdl-mixer \
|
||||
devel/sdl-ttf
|
||||
|
||||
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
CFLAGS+= -I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/SDL -Wall
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/beret ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/beret
|
||||
${INSTALL_DATA} ${WRKSRC}/lgpl-3.0.txt ${PREFIX}/share/doc/beret
|
||||
${INSTALL_DATA} ${WRKSRC}/OFL.txt ${PREFIX}/share/doc/beret
|
||||
${INSTALL_DATA} ${WRKSRC}/FONTLOG.txt ${PREFIX}/share/doc/beret
|
||||
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/beret
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/beret
|
||||
${INSTALL_DATA} ${WRKSRC}/AveriaSans-Regular.ttf ${PREFIX}/share/beret
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/beret/images
|
||||
${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/beret/images
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/beret/music
|
||||
${INSTALL_DATA} ${WRKSRC}/music/* ${PREFIX}/share/beret/music
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/beret/rooms
|
||||
${INSTALL_DATA} ${WRKSRC}/rooms/* ${PREFIX}/share/beret/rooms
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/beret/sfx
|
||||
${INSTALL_DATA} ${WRKSRC}/sfx/* ${PREFIX}/share/beret/sfx
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/beret/distinfo
Normal file
5
games/beret/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (beret-1.2.1.tar.gz) = BxovNSNCwDmymP+z1njcmw==
|
||||
RMD160 (beret-1.2.1.tar.gz) = LXOIHydUKOJAaQ8zrFPQtRDBt2g=
|
||||
SHA1 (beret-1.2.1.tar.gz) = UXsvodYsyMObYgEUEHJ4OdrhU3U=
|
||||
SHA256 (beret-1.2.1.tar.gz) = n4oQEvxN/7O0dLDHnsSMB3ryXwk+5chaRfsT15Uzly8=
|
||||
SIZE (beret-1.2.1.tar.gz) = 44793941
|
20
games/beret/patches/patch-Makefile
Normal file
20
games/beret/patches/patch-Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2012/02/27 22:07:49 schwarze Exp $
|
||||
--- Makefile.orig Tue Jan 10 01:55:02 2012
|
||||
+++ Makefile Wed Jan 11 14:58:26 2012
|
||||
@@ -1,13 +1,11 @@
|
||||
-CC= gcc
|
||||
-CFLAGS= -Wall -g
|
||||
-LFLAGS= -lSDLmain -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer
|
||||
+LFLAGS= -L/usr/local/lib -L/usr/X11R6/lib -lSDLmain -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer
|
||||
|
||||
-default: beret
|
||||
+all: beret
|
||||
|
||||
clean:
|
||||
rm beret *.o
|
||||
|
||||
beret: game.o thing.o physics.o
|
||||
- $(CC) $(LFLAGS) -o $@ game.o thing.o physics.o
|
||||
+ $(CC) $(LFLAGS) -pthread -o $@ game.o thing.o physics.o
|
||||
|
||||
%.o: %.c %.h
|
12
games/beret/patches/patch-game_c
Normal file
12
games/beret/patches/patch-game_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-game_c,v 1.1.1.1 2012/02/27 22:07:49 schwarze Exp $
|
||||
--- game.c.orig Tue Jan 10 01:55:02 2012
|
||||
+++ game.c Thu Jan 12 11:33:20 2012
|
||||
@@ -95,7 +95,7 @@
|
||||
#define RESOURCE_PATH ""
|
||||
#else
|
||||
#define SUPPORT_PATH ".beret/"
|
||||
-#define RESOURCE_PATH ""
|
||||
+#define RESOURCE_PATH "/usr/local/share/beret/"
|
||||
#endif
|
||||
|
||||
#define QUITMOD_WIN KMOD_ALT
|
5
games/beret/pkg/DESCR
Normal file
5
games/beret/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Beret is a 2D puzzle-platformer game about a scientist, astonishingly
|
||||
named Beret, who has gained telekinetic abilities through his research
|
||||
at the Evil Corporation. He decides that the Evil Corporation is a tad
|
||||
too evil for his liking, and begins his solitary quest to overthrow the
|
||||
corporation and punish the evil deeds of his employers.
|
140
games/beret/pkg/PLIST
Normal file
140
games/beret/pkg/PLIST
Normal file
@ -0,0 +1,140 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/02/27 22:07:49 schwarze Exp $
|
||||
@bin bin/beret
|
||||
share/beret/
|
||||
share/beret/AveriaSans-Regular.ttf
|
||||
share/beret/images/
|
||||
share/beret/images/Thumbs.db
|
||||
share/beret/images/bkg1.png
|
||||
share/beret/images/bkg10.png
|
||||
share/beret/images/bkg11.png
|
||||
share/beret/images/bkg12.png
|
||||
share/beret/images/bkg13.png
|
||||
share/beret/images/bkg14.png
|
||||
share/beret/images/bkg2.png
|
||||
share/beret/images/bkg3.png
|
||||
share/beret/images/bkg4.png
|
||||
share/beret/images/bkg5.png
|
||||
share/beret/images/bkg6.png
|
||||
share/beret/images/bkg7.png
|
||||
share/beret/images/bkg8.png
|
||||
share/beret/images/bkg9.png
|
||||
share/beret/images/block.bmp
|
||||
share/beret/images/credits.png
|
||||
share/beret/images/fade1.png
|
||||
share/beret/images/fade2.png
|
||||
share/beret/images/fade3.png
|
||||
share/beret/images/fade4.png
|
||||
share/beret/images/fade5.png
|
||||
share/beret/images/gameselect.png
|
||||
share/beret/images/getinput.png
|
||||
share/beret/images/icon.ico
|
||||
share/beret/images/inventory.png
|
||||
share/beret/images/lvlnum.png
|
||||
share/beret/images/mapbkg.png
|
||||
share/beret/images/msg.png
|
||||
share/beret/images/opt.png
|
||||
share/beret/images/pit.png
|
||||
share/beret/images/spritesheet.png
|
||||
share/beret/images/teleguide.png
|
||||
share/beret/images/tilesheet.png
|
||||
share/beret/images/title.png
|
||||
share/beret/music/
|
||||
share/beret/music/beret0.ogg
|
||||
share/beret/music/beret1.ogg
|
||||
share/beret/music/beret10.ogg
|
||||
share/beret/music/beret11.ogg
|
||||
share/beret/music/beret12.ogg
|
||||
share/beret/music/beret13.ogg
|
||||
share/beret/music/beret2.ogg
|
||||
share/beret/music/beret3.ogg
|
||||
share/beret/music/beret4.ogg
|
||||
share/beret/music/beret5.ogg
|
||||
share/beret/music/beret6.ogg
|
||||
share/beret/music/beret7.ogg
|
||||
share/beret/music/beret8.ogg
|
||||
share/beret/music/beret9.ogg
|
||||
share/beret/rooms/
|
||||
share/beret/rooms/maps
|
||||
share/beret/rooms/metas
|
||||
share/beret/rooms/rooms
|
||||
share/beret/sfx/
|
||||
share/beret/sfx/antimatter1.wav
|
||||
share/beret/sfx/antimatter2.wav
|
||||
share/beret/sfx/antimatter3.wav
|
||||
share/beret/sfx/boom1.wav
|
||||
share/beret/sfx/boom2.wav
|
||||
share/beret/sfx/boom3.wav
|
||||
share/beret/sfx/choice-beret1.wav
|
||||
share/beret/sfx/choice-beret2.wav
|
||||
share/beret/sfx/choice-beret3.wav
|
||||
share/beret/sfx/choice-object1.wav
|
||||
share/beret/sfx/choice-object2.wav
|
||||
share/beret/sfx/choice-object3.wav
|
||||
share/beret/sfx/clink.wav
|
||||
share/beret/sfx/clink2.wav
|
||||
share/beret/sfx/clink3.wav
|
||||
share/beret/sfx/corner.wav
|
||||
share/beret/sfx/crunch.wav
|
||||
share/beret/sfx/crunch2.wav
|
||||
share/beret/sfx/fake.wav
|
||||
share/beret/sfx/fake2.wav
|
||||
share/beret/sfx/frag1.wav
|
||||
share/beret/sfx/frag2.wav
|
||||
share/beret/sfx/frag3.wav
|
||||
share/beret/sfx/frag4.wav
|
||||
share/beret/sfx/frag5.wav
|
||||
share/beret/sfx/frag6.wav
|
||||
share/beret/sfx/hop1.wav
|
||||
share/beret/sfx/hop2.wav
|
||||
share/beret/sfx/hop3.wav
|
||||
share/beret/sfx/infect.wav
|
||||
share/beret/sfx/jump1.wav
|
||||
share/beret/sfx/jump2.wav
|
||||
share/beret/sfx/jump3.wav
|
||||
share/beret/sfx/knock.wav
|
||||
share/beret/sfx/knock2.wav
|
||||
share/beret/sfx/knock3.wav
|
||||
share/beret/sfx/med-b.wav
|
||||
share/beret/sfx/med-g.wav
|
||||
share/beret/sfx/med-o.wav
|
||||
share/beret/sfx/med-p.wav
|
||||
share/beret/sfx/med-r.wav
|
||||
share/beret/sfx/med-w.wav
|
||||
share/beret/sfx/platform1.wav
|
||||
share/beret/sfx/platform2.wav
|
||||
share/beret/sfx/platform3.wav
|
||||
share/beret/sfx/pop.wav
|
||||
share/beret/sfx/pop2.wav
|
||||
share/beret/sfx/pop3.wav
|
||||
share/beret/sfx/regen.wav
|
||||
share/beret/sfx/regeninit.wav
|
||||
share/beret/sfx/robo1.wav
|
||||
share/beret/sfx/robo2.wav
|
||||
share/beret/sfx/robo3.wav
|
||||
share/beret/sfx/robo4.wav
|
||||
share/beret/sfx/robo5.wav
|
||||
share/beret/sfx/robo6.wav
|
||||
share/beret/sfx/shot1.wav
|
||||
share/beret/sfx/shot2.wav
|
||||
share/beret/sfx/shot3.wav
|
||||
share/beret/sfx/step1.wav
|
||||
share/beret/sfx/step2.wav
|
||||
share/beret/sfx/step3.wav
|
||||
share/beret/sfx/stick.wav
|
||||
share/beret/sfx/switch-gr1.wav
|
||||
share/beret/sfx/switch-gr2.wav
|
||||
share/beret/sfx/switch-gr3.wav
|
||||
share/beret/sfx/switch-gv1.wav
|
||||
share/beret/sfx/switch-gv2.wav
|
||||
share/beret/sfx/switch-gv3.wav
|
||||
share/beret/sfx/switch-rd1.wav
|
||||
share/beret/sfx/switch-rd2.wav
|
||||
share/beret/sfx/switch-rd3.wav
|
||||
share/beret/sfx/tick1.wav
|
||||
share/beret/sfx/tick2.wav
|
||||
share/beret/sfx/tick3.wav
|
||||
share/doc/beret/
|
||||
share/doc/beret/FONTLOG.txt
|
||||
share/doc/beret/OFL.txt
|
||||
share/doc/beret/README.txt
|
||||
share/doc/beret/lgpl-3.0.txt
|
Loading…
Reference in New Issue
Block a user