summaryrefslogtreecommitdiff
path: root/games/powermanga/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:23:30 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:23:30 +0000
commit7d480c1b006124aa558db96001d57d367e33e5d6 (patch)
treee2b085ac13d262426f731ea9c756d9e7f15baf24 /games/powermanga/files
parentAdd stellarium 0.5.2, (diff)
Add powermanga 0.78,
Powermanga is an arcade 2D shoot-em-up game with 41 levels and more than 200 sprites. It runs in 320x200 or 640x400 pixels, with Window mode or direct to screen (DGA) and support for 8, 15, 16, 24, and 32 bpp. PR: ports/61931 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'games/powermanga/files')
-rw-r--r--games/powermanga/files/patch-Makefile.in11
-rw-r--r--games/powermanga/files/patch-configure56
-rw-r--r--games/powermanga/files/patch-graphics::Makefile.in11
-rw-r--r--games/powermanga/files/patch-powermanga.617
-rw-r--r--games/powermanga/files/patch-sounds::Makefile.in11
-rw-r--r--games/powermanga/files/patch-src::Makefile.in102
-rw-r--r--games/powermanga/files/patch-src::linuxroutines.cpp11
-rw-r--r--games/powermanga/files/patch-src::powermanga.hpp10
-rw-r--r--games/powermanga/files/patch-src::sdl_mixer.cpp15
9 files changed, 244 insertions, 0 deletions
diff --git a/games/powermanga/files/patch-Makefile.in b/games/powermanga/files/patch-Makefile.in
new file mode 100644
index 000000000000..408f23cd00be
--- /dev/null
+++ b/games/powermanga/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Mon Jan 26 09:15:26 2004
++++ Makefile.in Mon Jan 26 09:16:25 2004
+@@ -38,7 +38,7 @@
+ host_triplet = @host@
+ target_triplet = @target@
+
+-pkgdatadir = $(mandir)
++pkgdatadir = $(mandir)/man6
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/powermanga/files/patch-configure b/games/powermanga/files/patch-configure
new file mode 100644
index 000000000000..abd9a74502b8
--- /dev/null
+++ b/games/powermanga/files/patch-configure
@@ -0,0 +1,56 @@
+--- configure.orig Mon Jan 26 09:24:51 2004
++++ configure Mon Jan 26 09:26:18 2004
+@@ -2362,21 +2362,7 @@
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+-if test "$ac_test_CFLAGS" = set; then
+- CFLAGS=$ac_save_CFLAGS
+-elif test $ac_cv_prog_cc_g = yes; then
+- if test "$GCC" = yes; then
+- CFLAGS="-g -O2"
+- else
+- CFLAGS="-g"
+- fi
+-else
+- if test "$GCC" = yes; then
+- CFLAGS="-O2"
+- else
+- CFLAGS=
+- fi
+-fi
++CFLAGS=$ac_save_CFLAGS
+ echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+ echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+@@ -2966,21 +2952,7 @@
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
+-if test "$ac_test_CXXFLAGS" = set; then
+- CXXFLAGS=$ac_save_CXXFLAGS
+-elif test $ac_cv_prog_cxx_g = yes; then
+- if test "$GXX" = yes; then
+- CXXFLAGS="-g -O2"
+- else
+- CXXFLAGS="-g"
+- fi
+-else
+- if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
+- else
+- CXXFLAGS=
+- fi
+-fi
++CXXFLAGS=$ac_save_CXXFLAGS
+ for ac_declaration in \
+ ''\
+ '#include <stdlib.h>' \
+@@ -3158,7 +3130,6 @@
+
+
+
+-CXXFLAGS="-O3 -Wall"
+
+
+ ac_ext=c
diff --git a/games/powermanga/files/patch-graphics::Makefile.in b/games/powermanga/files/patch-graphics::Makefile.in
new file mode 100644
index 000000000000..f083160c5933
--- /dev/null
+++ b/games/powermanga/files/patch-graphics::Makefile.in
@@ -0,0 +1,11 @@
+--- graphics/Makefile.in.orig Mon Jan 26 09:16:58 2004
++++ graphics/Makefile.in Mon Jan 26 09:17:15 2004
+@@ -37,7 +37,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-pkgdatadir = $(datadir)/games/powermanga/graphics
++pkgdatadir = $(datadir)/powermanga/graphics
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/powermanga/files/patch-powermanga.6 b/games/powermanga/files/patch-powermanga.6
new file mode 100644
index 000000000000..bf1c910dcbc7
--- /dev/null
+++ b/games/powermanga/files/patch-powermanga.6
@@ -0,0 +1,17 @@
+--- powermanga.6.orig Mon Jan 26 09:48:45 2004
++++ powermanga.6 Mon Jan 26 09:57:22 2004
+@@ -99,12 +99,12 @@
+ .B \--hard
+ make the game harder
+ .SH FILES
+-.B /usr/share/games/powermanga/graphics/
++.B %%PREFIX%%/share/powermanga/graphics/
+ .br
+ .RS
+ Graphics files.
+ .RE
+-.B /usr/share/games/powermanga/sound/
++.B %%PREFIX%%/share/powermanga/sounds/
+ .br
+ .RS
+ Sound files.
diff --git a/games/powermanga/files/patch-sounds::Makefile.in b/games/powermanga/files/patch-sounds::Makefile.in
new file mode 100644
index 000000000000..0fe096e710f0
--- /dev/null
+++ b/games/powermanga/files/patch-sounds::Makefile.in
@@ -0,0 +1,11 @@
+--- sounds/Makefile.in.orig Mon Jan 26 09:17:41 2004
++++ sounds/Makefile.in Mon Jan 26 09:17:49 2004
+@@ -37,7 +37,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-pkgdatadir = $(datadir)/games/powermanga/sounds
++pkgdatadir = $(datadir)/powermanga/sounds
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/powermanga/files/patch-src::Makefile.in b/games/powermanga/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..fa9399ca622c
--- /dev/null
+++ b/games/powermanga/files/patch-src::Makefile.in
@@ -0,0 +1,102 @@
+--- src/Makefile.in.orig Mon Jan 26 09:18:03 2004
++++ src/Makefile.in Mon Jan 26 09:46:41 2004
+@@ -28,7 +28,7 @@
+ install_sh_PROGRAM = $(install_sh) -c
+ install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_HEADER = $(INSTALL_DATA)
+-transform = $(program_transform_name)
++transform =
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+@@ -137,7 +137,7 @@
+ scoredir = /var/games
+ score = powermanga.hi
+
+-games_PROGRAMS = powermanga
++bin_PROGRAMS = powermanga
+ powermanga_SOURCES = $(SOURCES_MAIN) $(SOURCES_EXTRA)
+ powermanga_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@
+ powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@
+@@ -199,8 +199,8 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES =
+-games_PROGRAMS = powermanga$(EXEEXT)
+-PROGRAMS = $(games_PROGRAMS)
++bin_PROGRAMS = powermanga$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+
+ am__powermanga_SOURCES_DIST = afficheEtoiles.cpp bonus.cpp caractere.cpp \
+ caractere.hpp cercle.hpp chaine.cpp chaine.hpp \
+@@ -320,17 +320,17 @@
+ $(AUTOMAKE) --foreign src/Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+-gamesPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-install-gamesPROGRAMS: $(games_PROGRAMS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
++install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(gamesdir)
+- @list='$(games_PROGRAMS)'; for p in $$list; do \
++ $(mkinstalldirs) $(DESTDIR)$(bindir)
++ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ if test -f $$p \
+ ; then \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(gamesPROGRAMS_INSTALL) $$p $(DESTDIR)$(gamesdir)/$$f"; \
+- $(INSTALL_PROGRAM_ENV) $(gamesPROGRAMS_INSTALL) $$p $(DESTDIR)$(gamesdir)/$$f || exit 1; \
++ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ else :; fi; \
+ done
+
+@@ -1420,7 +1420,7 @@
+ all-am: Makefile $(PROGRAMS)
+
+ installdirs:
+- $(mkinstalldirs) $(DESTDIR)$(gamesdir)
++ $(mkinstalldirs) $(DESTDIR)$(bindir)
+
+ install: install-am
+ install-exec: install-exec-am
+@@ -1463,7 +1463,7 @@
+
+ info-am:
+
+-install-data-am: install-gamesPROGRAMS
++install-data-am: install-binPROGRAMS
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+
+@@ -1498,7 +1498,7 @@
+ distclean-depend distclean-generic distclean-tags distdir dvi \
+ dvi-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am \
+- install-gamesPROGRAMS install-info install-info-am install-man \
++ install-binPROGRAMS install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+@@ -1507,13 +1507,13 @@
+
+
+ install-data-hook:
+- -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
+- -chmod 2755 "$(DESTDIR)/$(gamesdir)/powermanga"
+- $(INSTALL) -d $(DESTDIR)/$(scoredir)
++ -chown root:games "$(DESTDIR)/$(bindir)/powermanga"
++ -chmod 2755 "$(DESTDIR)/$(bindir)/powermanga"
++ $(INSTALL) -d $(scoredir)
+ -for suffix in "-easy" "" "-hard"; do \
+- touch "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
+- chown root:games "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
+- chmod 644 "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
++ touch "$(scoredir)/$(score)$$suffix"; \
++ chown root:games "$(scoredir)/$(score)$$suffix"; \
++ chmod 664 "$(scoredir)/$(score)$$suffix"; \
+ done
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/games/powermanga/files/patch-src::linuxroutines.cpp b/games/powermanga/files/patch-src::linuxroutines.cpp
new file mode 100644
index 000000000000..68e08cff2527
--- /dev/null
+++ b/games/powermanga/files/patch-src::linuxroutines.cpp
@@ -0,0 +1,11 @@
+--- src/linuxroutines.cpp.orig Mon Jan 26 09:36:29 2004
++++ src/linuxroutines.cpp Mon Jan 26 09:37:01 2004
+@@ -449,7 +449,7 @@
+ for(const char **p = data_directories;; p++)
+ { char *pathname;
+ if(*p == 0)
+- { const char *subdir = "/share/games/powermanga/";
++ { const char *subdir = "/share/powermanga/";
+ pathname=(char *)malloc(strlen(nomprefix) + strlen(subdir) + strlen(name) + 1);
+ if(pathname == 0)
+ { fflush(stdout);
diff --git a/games/powermanga/files/patch-src::powermanga.hpp b/games/powermanga/files/patch-src::powermanga.hpp
new file mode 100644
index 000000000000..ac19e3f098f0
--- /dev/null
+++ b/games/powermanga/files/patch-src::powermanga.hpp
@@ -0,0 +1,10 @@
+--- src/powermanga.hpp.orig Mon Jan 26 14:13:52 2004
++++ src/powermanga.hpp Mon Jan 26 14:14:25 2004
+@@ -1096,6 +1096,6 @@
+ #include "etbfonte1.hpp"
+ #include "score.hpp"
+ #ifdef SDL_TLK
+-#include "SDL/SDL.h"
++#include <SDL.h>
+ #endif
+ #endif
diff --git a/games/powermanga/files/patch-src::sdl_mixer.cpp b/games/powermanga/files/patch-src::sdl_mixer.cpp
new file mode 100644
index 000000000000..11faa34f1acf
--- /dev/null
+++ b/games/powermanga/files/patch-src::sdl_mixer.cpp
@@ -0,0 +1,15 @@
+--- src/sdl_mixer.cpp.orig Mon Jan 26 09:11:21 2004
++++ src/sdl_mixer.cpp Mon Jan 26 09:11:31 2004
+@@ -40,9 +40,9 @@
+ //..............................................................................
+ #include "powermanga.hpp"
+ #ifdef UTILISE_SEAL
+-#include <SDL/SDL.h>
+-#include <SDL/SDL_thread.h>
+-#include <SDL/SDL_mixer.h>
++#include <SDL.h>
++#include <SDL_thread.h>
++#include <SDL_mixer.h>
+ //..............................................................................
+ //..............................................................................
+ extern unsigned int iVerbeux; //1=affiche les arguments