- update to version 0.4.1

This commit is contained in:
ajacoutot 2007-12-05 10:49:24 +00:00
parent 9122b40a72
commit 8cc61d6823
10 changed files with 88 additions and 75 deletions

View File

@ -1,11 +1,13 @@
# $OpenBSD: Makefile,v 1.9 2007/09/15 18:01:02 simon Exp $
# $OpenBSD: Makefile,v 1.10 2007/12/05 10:49:24 ajacoutot Exp $
COMMENT= sdl port of xkobo
DISTNAME= KoboDeluxe-0.4pre10
DISTNAME= KoboDeluxe-0.4.1
PKGNAME= ${DISTNAME:L}
CATEGORIES= games x11
MASTER_SITES= ${HOMEPAGE}download/
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://olofson.net/kobodl/
FLAVORS= harder
FLAVOR?=
@ -14,19 +16,21 @@ FLAVOR?=
PATCH_LIST=patch-* extra-hard
.endif
FAKE= all
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL X11 Xext c m pthread stdc++ usbhid
WANTLIB= SDL c m pthread stdc++
LIB_DEPENDS= SDL_image::devel/sdl-image
USE_X11= Yes
FAKE= all
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+=sdlconf_args=--prefix=${DEPBASE}
CONFIGURE_ENV+= sdlconf_args=--prefix=${DEPBASE}
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (KoboDeluxe-0.4pre10.tar.gz) = bAdYN65oC/VJDB/EJ53Miw==
RMD160 (KoboDeluxe-0.4pre10.tar.gz) = C1zIBiu96Gl+rc5vXPleYUhfIbw=
SHA1 (KoboDeluxe-0.4pre10.tar.gz) = ex83SC1A6faCkVJ9ixud19iN0lw=
SHA256 (KoboDeluxe-0.4pre10.tar.gz) = to1Zd+nvRHKFACodTqwLMxnJ9/byYQKNan39C86+UTo=
SIZE (KoboDeluxe-0.4pre10.tar.gz) = 800650
MD5 (KoboDeluxe-0.4.1.tar.bz2) = SaNsHO9+wazuSrZ6JGj9hQ==
RMD160 (KoboDeluxe-0.4.1.tar.bz2) = a/zmbCaFJT+RpaN8qIgcChBqLwc=
SHA1 (KoboDeluxe-0.4.1.tar.bz2) = I8j6l6sqeheaTkDAMG2e/YLCnmk=
SHA256 (KoboDeluxe-0.4.1.tar.bz2) = zLJf6/arP/v5P7C7P/P3eHNalzKNdUIPtMBsrFRKqlc=
SIZE (KoboDeluxe-0.4.1.tar.bz2) = 802115

View File

@ -1,10 +1,10 @@
--- manage.cpp.orig Sun Apr 27 15:58:04 2003
+++ manage.cpp Thu Jan 26 17:49:18 2006
@@ -505,7 +505,6 @@ void _manage::add_score(int sc)
--- manage.cpp.orig Wed Dec 5 11:38:05 2007
+++ manage.cpp Wed Dec 5 11:38:42 2007
@@ -584,7 +584,6 @@ void _manage::add_score(int sc)
if(score >= bonus_next)
{
bonus_next += BONUS_EVERY;
bonus_next += game.bonus_every;
- ships++;
ships_changed = 1;
flush_ships_count = 50;
sound.ui_oneup();

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.2 2006/01/27 01:12:23 jolan Exp $
--- Makefile.in.orig Tue Feb 11 20:38:12 2003
+++ Makefile.in Thu Jan 26 17:35:10 2006
@@ -663,7 +663,7 @@ install-data: install-data-recursive
$OpenBSD: patch-Makefile_in,v 1.3 2007/12/05 10:49:24 ajacoutot Exp $
--- Makefile.in.orig Tue Oct 30 21:02:15 2007
+++ Makefile.in Wed Dec 5 11:23:44 2007
@@ -736,7 +736,7 @@ install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-configure,v 1.3 2006/01/27 01:12:23 jolan Exp $
--- configure.orig Fri Feb 7 17:36:27 2003
+++ configure Thu Jan 26 17:35:10 2006
@@ -4199,8 +4199,8 @@ echo $ECHO_N "checking target platform a
$OpenBSD: patch-configure,v 1.4 2007/12/05 10:49:24 ajacoutot Exp $
--- configure.orig Wed Dec 5 11:24:20 2007
+++ configure Wed Dec 5 11:24:45 2007
@@ -5025,8 +5025,8 @@ echo $ECHO_N "checking target platform and install sty
build_macosx_bundle=no
build_simple_bundle=no
unix_scoredir=yes
-DATADIR='$(datadir)/games/kobo-deluxe'
-SCOREDIR='$(prefix)/games/kobo-deluxe/scores'
-DATADIR='$(datadir)/kobo-deluxe'
-SCOREDIR='$(sharedstatedir)/kobo-deluxe/scores'
+DATADIR='$(datadir)/kobodeluxe'
+SCOREDIR='/var/games/kobodeluxe'
CONFIGDIR='HOME>>'

View File

@ -1,28 +1,12 @@
$OpenBSD: patch-data_Makefile_in,v 1.2 2006/01/27 01:12:23 jolan Exp $
--- data/Makefile.in.orig Sun Feb 9 22:27:09 2003
+++ data/Makefile.in Thu Jan 26 17:44:08 2006
@@ -149,12 +149,12 @@ target_vendor = @target_vendor@
KOBOGFX_OBJECTS = *.png *.pcx
KOBOSFX_OBJECTS = *.raw *.agw *.mid *.h
-@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobogfxdir = $(datadir)/games/kobo-deluxe/gfx
+@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobogfxdir = $(datadir)/kobodeluxe/gfx
@BUILD_MACOSX_BUNDLE_TRUE@kobogfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/gfx
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@kobogfxdir = $(srcdir)/../@PACKAGE@/gfx
-@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobosfxdir = $(datadir)/games/kobo-deluxe/sfx
+@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobosfxdir = $(datadir)/kobodeluxe/sfx
@BUILD_MACOSX_BUNDLE_TRUE@kobosfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/sfx
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@kobosfxdir = $(srcdir)/../@PACKAGE@/sfx
@@ -323,8 +323,7 @@ info: info-am
$OpenBSD: patch-data_Makefile_in,v 1.3 2007/12/05 10:49:24 ajacoutot Exp $
--- data/Makefile.in.orig Wed Dec 5 11:24:57 2007
+++ data/Makefile.in Wed Dec 5 11:28:12 2007
@@ -467,7 +467,7 @@ info: info-recursive
info-am:
-install-data-am: install-kobogfxDATA install-koboscoreDATA \
- install-kobosfxDATA
+install-data-am: install-kobogfxDATA install-kobosfxDATA
-install-data-am: install-koboscoreDATA
+install-data-am:
install-exec-am:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-data_gfx_Makefile_in,v 1.1 2007/12/05 10:49:24 ajacoutot Exp $
--- data/gfx/Makefile.in.orig Wed Dec 5 11:27:03 2007
+++ data/gfx/Makefile.in Wed Dec 5 11:27:50 2007
@@ -179,7 +179,7 @@ target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
KOBOGFX_OBJECTS = *.png
-@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobogfxdir = $(datadir)/kobo-deluxe/gfx
+@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobogfxdir = $(datadir)/kobodeluxe/gfx
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@kobogfxdir = $(srcdir)/../@PACKAGE@/gfx
@BUILD_MACOSX_BUNDLE_TRUE@kobogfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/gfx
kobogfx_DATA = $(KOBOGFX_OBJECTS)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-data_sfx_Makefile_in,v 1.1 2007/12/05 10:49:24 ajacoutot Exp $
--- data/sfx/Makefile.in.orig Wed Dec 5 11:25:49 2007
+++ data/sfx/Makefile.in Wed Dec 5 11:26:54 2007
@@ -179,7 +179,7 @@ target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
KOBOSFX_OBJECTS = *.raw *.agw *.mid *.h
-@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobosfxdir = $(datadir)/kobo-deluxe/sfx
+@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobosfxdir = $(datadir)/kobodeluxe/sfx
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@kobosfxdir = $(srcdir)/../@PACKAGE@/sfx
@BUILD_MACOSX_BUNDLE_TRUE@kobosfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/sfx
kobosfx_DATA = $(KOBOSFX_OBJECTS)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-gamectl_cpp,v 1.1.1.1 2003/04/12 15:22:10 espie Exp $
--- gamectl.cpp.orig Sun May 5 04:50:02 2002
+++ gamectl.cpp Sat Apr 12 17:02:10 2003
@@ -39,7 +39,7 @@ int gamecontrol_t::dl;
$OpenBSD: patch-gamectl_cpp,v 1.2 2007/12/05 10:49:24 ajacoutot Exp $
--- gamectl.cpp.orig Sun Oct 28 02:28:04 2007
+++ gamectl.cpp Wed Dec 5 11:23:44 2007
@@ -38,7 +38,7 @@ int gamecontrol_t::dl;
int gamecontrol_t::dr;
int gamecontrol_t::ul;
int gamecontrol_t::ur;
@ -10,7 +10,7 @@ $OpenBSD: patch-gamectl_cpp,v 1.1.1.1 2003/04/12 15:22:10 espie Exp $
int gamecontrol_t::direction = 1;
int gamecontrol_t::new_direction = 0;
int gamecontrol_t::latch_timer = 0;
@@ -52,7 +52,7 @@ void gamecontrol_t::init()
@@ -52,7 +52,7 @@ void gamecontrol_t::init(int always_fire)
right = 0;
up = 0;
down = 0;
@ -19,7 +19,7 @@ $OpenBSD: patch-gamectl_cpp,v 1.1.1.1 2003/04/12 15:22:10 espie Exp $
movekey_pressed = 0;
SDL_EnableKeyRepeat(r_delay, r_interval);
}
@@ -207,7 +207,7 @@ void gamecontrol_t::press(int k)
@@ -213,7 +213,7 @@ void gamecontrol_t::press(int k)
dr = 1;
break;
case BTN_FIRE:
@ -28,7 +28,7 @@ $OpenBSD: patch-gamectl_cpp,v 1.1.1.1 2003/04/12 15:22:10 espie Exp $
break;
}
gamecontrol_t::change();
@@ -242,7 +242,6 @@ void gamecontrol_t::release(int k)
@@ -248,7 +248,6 @@ void gamecontrol_t::release(int k)
dr = 0;
break;
case BTN_FIRE:

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2006/01/27 01:12:23 jolan Exp $
@comment $OpenBSD: PLIST,v 1.7 2007/12/05 10:49:24 ajacoutot Exp $
@mode 2555
@group games
bin/kobodl
@ -6,58 +6,58 @@ bin/kobodl
@group
share/kobodeluxe/
share/kobodeluxe/gfx/
share/kobodeluxe/gfx/bigship.pcx
share/kobodeluxe/gfx/bigship.png
share/kobodeluxe/gfx/bolt.png
share/kobodeluxe/gfx/brushes.png
share/kobodeluxe/gfx/bullets.pcx
share/kobodeluxe/gfx/bullets.png
share/kobodeluxe/gfx/counter.png
share/kobodeluxe/gfx/deluxe.png
share/kobodeluxe/gfx/explo1b.png
share/kobodeluxe/gfx/explo2b.png
share/kobodeluxe/gfx/focusfx.png
share/kobodeluxe/gfx/font2b.png
share/kobodeluxe/gfx/font3b.png
share/kobodeluxe/gfx/font4b.png
share/kobodeluxe/gfx/hitnoise.png
share/kobodeluxe/gfx/loading.png
share/kobodeluxe/gfx/logo3.png
share/kobodeluxe/gfx/noise.pcx
share/kobodeluxe/gfx/logo.png
share/kobodeluxe/gfx/logomask.png
share/kobodeluxe/gfx/microfont.png
share/kobodeluxe/gfx/noise.png
share/kobodeluxe/gfx/screen.png
share/kobodeluxe/gfx/sprites.pcx
share/kobodeluxe/gfx/tiles.pcx
share/kobodeluxe/gfx/tube1.png
share/kobodeluxe/gfx/tube2.png
share/kobodeluxe/gfx/sprites.png
share/kobodeluxe/gfx/tiles.png
share/kobodeluxe/sfx/
share/kobodeluxe/sfx/aguitar1.agw
share/kobodeluxe/sfx/ballad1.agw
share/kobodeluxe/sfx/ballad1.mid
share/kobodeluxe/sfx/bassdrum3.agw
share/kobodeluxe/sfx/bassdrum5.agw
share/kobodeluxe/sfx/beam.raw
share/kobodeluxe/sfx/bomb.raw
share/kobodeluxe/sfx/bongo1.agw
share/kobodeluxe/sfx/brass2.agw
share/kobodeluxe/sfx/breakdown1.agw
share/kobodeluxe/sfx/bubble.raw
share/kobodeluxe/sfx/bzzzt1.agw
share/kobodeluxe/sfx/claps1.agw
share/kobodeluxe/sfx/edge2.agw
share/kobodeluxe/sfx/elecbass2.agw
share/kobodeluxe/sfx/enemym.raw
share/kobodeluxe/sfx/expl.raw
share/kobodeluxe/sfx/expl2.raw
share/kobodeluxe/sfx/expl3.raw
share/kobodeluxe/sfx/fine.raw
share/kobodeluxe/sfx/gameover1.agw
share/kobodeluxe/sfx/hardsync1.agw
share/kobodeluxe/sfx/kobosfx.h
share/kobodeluxe/sfx/launch.agw
share/kobodeluxe/sfx/launch2.agw
share/kobodeluxe/sfx/marimba2.agw
share/kobodeluxe/sfx/metallic.raw
share/kobodeluxe/sfx/missile1.agw
share/kobodeluxe/sfx/music.agw
share/kobodeluxe/sfx/noiseburst1.agw
share/kobodeluxe/sfx/music_c.agw
share/kobodeluxe/sfx/noiseburst2.agw
share/kobodeluxe/sfx/oneup.raw
share/kobodeluxe/sfx/phattpad1.agw
share/kobodeluxe/sfx/phattpad2.agw
share/kobodeluxe/sfx/ready1.agw
share/kobodeluxe/sfx/ring.raw
share/kobodeluxe/sfx/save_waves.agw
share/kobodeluxe/sfx/sfx.agw
share/kobodeluxe/sfx/shot.raw
share/kobodeluxe/sfx/sfx_c.agw
share/kobodeluxe/sfx/sine.agw
share/kobodeluxe/sfx/snare1.agw
share/kobodeluxe/sfx/synbass1.agw
@ -66,7 +66,8 @@ share/kobodeluxe/sfx/test2.mid
share/kobodeluxe/sfx/thunder1.agw
share/kobodeluxe/sfx/trance1.agw
share/kobodeluxe/sfx/trance1.mid
share/kobodeluxe/sfx/trance1_c.agw
@mode 775
@group games
@sample /var/games/kobodeluxe/
@extraunexec rm /var/games/kobodeluxe/* 2>/dev/null || true
@extraunexec rm -rf /var/games/kobodeluxe