powermanga: Update to 0.93.1 2015-06-28 Powermanga 0.93.1 - Fixes the speed of the stars after a new game that follows congratulation. - Clears all gems after the final boss. Thanks to Josh Triplett for the report (Debian #764009) - Disable insecure temporary file "/tmp/powermanga-log.txt". Thanks to Josh Triplett for the report (Debian #764144) - Translation of the man page in French. - Fix file permissions in HTML directory. Thanks to nemysisbsd for the report. - Allows the joystick to be configured either from the command line or from the config file. Thanks to Maurerp for the patch. - The __FUNCTION__ macro has been replaced by __func__ macro. ISO C does not support ���__FUNCTION__��� predefined identifier. (Debian #778072) - Remove -Werror and -pedantic flags for non-test builds. 2014-09-20 Powermanga 0.93 - Fix man page: The option to play the game in fullscreen mode must be --fullscreen not --full. (Patch Debian) - Added keywords and a comment in German and French to the desktop file (Patch Debian) - Fix configure.ac: Add custom CFLAGS (Patch Debian) - Fix segmentation fault in the About menu (English version) - Fixes wrong joystick behaviour in display_sdl.c and allows the ship to move to the left side again. Thanks to Kalle Olavi Niemitalo for the report (Debian #561670) - Allow compilation with Clang 2014-08-19 Powermanga 0.92 - Fix Debian bug #478213 - Fix configure.ac: replace AM_CONFIG_HEADER to AC_CONFIG_HEADERS - Add explicitly link with needed libm, fix Debian bug #632945 - Fix PNG_iTXt_SUPPORTED support - Add italian language - Fix negative coordinates explosions that caused a segmentation fault. 2012-08-26 Powermanga 0.91 - Update "configure.ac" file. - Fix compilation warnings (GCC 4.6.3 and Visual Studio) - Fix alignment constraint (ARM and MIPS processors) - Adds the ability to export all the game's graphics in PNG files using the command line. - Build test (without sound support) with Visual Studio and run successfully on Windows Mobile (HTC Touch P3450) - Recognizes all the joysticks connected at startup - Rewrites the file "music_game.zik" with Milkytracker. Now the library "SDL_mixer" can read and play this module. - The application switches to pause when it loses focus. - Minor bugfixes and improvementsdiff -r1.30 -r1.31 pkgsrc/games/powermanga/Makefile
(nia)
@@ -1,55 +1,52 @@ | @@ -1,55 +1,52 @@ | |||
1 | # $NetBSD: Makefile,v 1.30 2018/07/04 13:40:19 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.31 2020/05/19 11:37:56 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= powermanga-0.90 | 3 | DISTNAME= powermanga-0.93.1 | |
4 | PKGREVISION= 2 | |||
5 | CATEGORIES= games | 4 | CATEGORIES= games | |
6 | MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/ | 5 | MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/ | |
6 | EXTRACT_SUFX= .tgz | |||
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://linux.tlk.fr/games/Powermanga/ | 9 | HOMEPAGE= http://linux.tlk.fr/games/Powermanga/ | |
10 | COMMENT= Arcade 2D shoot-em-up game | 10 | COMMENT= Arcade 2D shoot-em-up game | |
11 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
12 | 12 | |||
13 | USE_LANGUAGES= c c++ | |||
14 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
14 | USE_LANGUAGES= c c++ | |||
15 | USE_TOOLS+= autoconf automake autoreconf | |||
15 | 16 | |||
16 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | 17 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
17 | MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC} | 18 | MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC} | |
18 | LDFLAGS.DragonFly= -lm | 19 | LDFLAGS.DragonFly= -lm | |
19 | LDFLAGS.SunOS+= -lm | 20 | LDFLAGS.SunOS+= -lm | |
20 | 21 | |||
21 | .include "../../mk/bsd.prefs.mk" | |||
22 | ||||
23 | .if ${X11_TYPE} == "modular" | |||
24 | CONFIGURE_ARGS+= --x-includes=${PREFIX}/include | |||
25 | CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib | |||
26 | .endif | |||
27 | ||||
28 | SUBST_CLASSES+= path | 22 | SUBST_CLASSES+= path | |
29 | SUBST_STAGE.path= pre-configure | 23 | SUBST_STAGE.path= pre-configure | |
30 | SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g" | 24 | SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g" | |
31 | SUBST_MESSAGE.path= Fixing support file installation paths. | 25 | SUBST_MESSAGE.path= Fixing support file installation paths. | |
32 | SUBST_FILES.path+= data/Makefile.in | 26 | SUBST_FILES.path+= data/levels/grids_phase/Makefile.am | |
33 | SUBST_FILES.path+= data/curves/Makefile.in | 27 | SUBST_FILES.path+= data/levels/curves_phase/Makefile.am | |
34 | SUBST_FILES.path+= data/levels/curves_phase/Makefile.in | 28 | SUBST_FILES.path+= data/Makefile.am | |
35 | SUBST_FILES.path+= data/levels/grids_phase/Makefile.in | 29 | SUBST_FILES.path+= data/curves/Makefile.am | |
36 | SUBST_FILES.path+= graphics/Makefile.in | 30 | SUBST_FILES.path+= texts/Makefile.am | |
37 | SUBST_FILES.path+= graphics/bitmap/Makefile.in | 31 | SUBST_FILES.path+= graphics/bitmap/fonts/Makefile.am | |
38 | SUBST_FILES.path+= graphics/bitmap/fonts/Makefile.in | 32 | SUBST_FILES.path+= graphics/bitmap/Makefile.am | |
39 | SUBST_FILES.path+= graphics/sprites/Makefile.in | 33 | SUBST_FILES.path+= graphics/sprites/guardians/Makefile.am | |
40 | SUBST_FILES.path+= graphics/sprites/guardians/Makefile.in | 34 | SUBST_FILES.path+= graphics/sprites/stars/Makefile.am | |
41 | SUBST_FILES.path+= graphics/sprites/meteors/Makefile.in | 35 | SUBST_FILES.path+= graphics/sprites/meteors/Makefile.am | |
42 | SUBST_FILES.path+= graphics/sprites/spaceships/Makefile.in | 36 | SUBST_FILES.path+= graphics/sprites/Makefile.am | |
43 | SUBST_FILES.path+= graphics/sprites/stars/Makefile.in | 37 | SUBST_FILES.path+= graphics/sprites/spaceships/Makefile.am | |
38 | SUBST_FILES.path+= graphics/Makefile.am | |||
39 | SUBST_FILES.path+= src/Makefile.am | |||
40 | SUBST_FILES.path+= sounds/handheld_console/Makefile.am | |||
41 | SUBST_FILES.path+= sounds/Makefile.am | |||
42 | SUBST_FILES.path+= Makefile.am | |||
44 | SUBST_FILES.path+= powermanga.6 | 43 | SUBST_FILES.path+= powermanga.6 | |
45 | SUBST_FILES.path+= sounds/Makefile.in | |||
46 | SUBST_FILES.path+= sounds/handheld_console/Makefile.in | |||
47 | SUBST_FILES.path+= src/tools.c | 44 | SUBST_FILES.path+= src/tools.c | |
48 | SUBST_FILES.path+= texts/Makefile.in | 45 | ||
46 | pre-configure: | |||
47 | cd ${WRKSRC} && autoreconf -fi | |||
49 | 48 | |||
50 | .include "../../audio/SDL_mixer/buildlink3.mk" | 49 | .include "../../audio/SDL_mixer/buildlink3.mk" | |
51 | .include "../../devel/SDL/buildlink3.mk" | 50 | .include "../../devel/SDL/buildlink3.mk" | |
52 | .include "../../x11/libXxf86dga/buildlink3.mk" | 51 | .include "../../graphics/png/buildlink3.mk" | |
53 | .include "../../x11/libXxf86vm/buildlink3.mk" | |||
54 | .include "../../x11/xorgproto/buildlink3.mk" | |||
55 | .include "../../mk/bsd.pkg.mk" | 52 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2009/09/02 11:38:01 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2020/05/19 11:37:56 nia Exp $ | |
2 | bin/powermanga | 2 | bin/powermanga | |
3 | man/man6/powermanga.6 | 3 | man/man6/powermanga.6 | |
4 | share/powermanga/data/curves/bezier_curve_000.bin | 4 | share/powermanga/data/curves/bezier_curve_000.bin | |
5 | share/powermanga/data/curves/bezier_curve_001.bin | 5 | share/powermanga/data/curves/bezier_curve_001.bin | |
6 | share/powermanga/data/curves/bezier_curve_002.bin | 6 | share/powermanga/data/curves/bezier_curve_002.bin | |
7 | share/powermanga/data/curves/bezier_curve_003.bin | 7 | share/powermanga/data/curves/bezier_curve_003.bin | |
8 | share/powermanga/data/curves/bezier_curve_004.bin | 8 | share/powermanga/data/curves/bezier_curve_004.bin | |
9 | share/powermanga/data/curves/bezier_curve_005.bin | 9 | share/powermanga/data/curves/bezier_curve_005.bin | |
10 | share/powermanga/data/curves/bezier_curve_006.bin | 10 | share/powermanga/data/curves/bezier_curve_006.bin | |
11 | share/powermanga/data/curves/bezier_curve_007.bin | 11 | share/powermanga/data/curves/bezier_curve_007.bin | |
12 | share/powermanga/data/curves/bezier_curve_008.bin | 12 | share/powermanga/data/curves/bezier_curve_008.bin | |
13 | share/powermanga/data/curves/bezier_curve_009.bin | 13 | share/powermanga/data/curves/bezier_curve_009.bin | |
14 | share/powermanga/data/curves/bezier_curve_010.bin | 14 | share/powermanga/data/curves/bezier_curve_010.bin | |
@@ -374,19 +374,23 @@ share/powermanga/sounds/sound_medium_exp | @@ -374,19 +374,23 @@ share/powermanga/sounds/sound_medium_exp | |||
374 | share/powermanga/sounds/sound_purple_gem.wav | 374 | share/powermanga/sounds/sound_purple_gem.wav | |
375 | share/powermanga/sounds/sound_red_gem.wav | 375 | share/powermanga/sounds/sound_red_gem.wav | |
376 | share/powermanga/sounds/sound_select_closed_option.wav | 376 | share/powermanga/sounds/sound_select_closed_option.wav | |
377 | share/powermanga/sounds/sound_select_option.wav | 377 | share/powermanga/sounds/sound_select_option.wav | |
378 | share/powermanga/sounds/sound_small_explosion_1.wav | 378 | share/powermanga/sounds/sound_small_explosion_1.wav | |
379 | share/powermanga/sounds/sound_small_explosion_2.wav | 379 | share/powermanga/sounds/sound_small_explosion_2.wav | |
380 | share/powermanga/sounds/sound_small_explosion_3.wav | 380 | share/powermanga/sounds/sound_small_explosion_3.wav | |
381 | share/powermanga/sounds/sound_small_explosion_4.wav | 381 | share/powermanga/sounds/sound_small_explosion_4.wav | |
382 | share/powermanga/sounds/sound_spaceship_fire.wav | 382 | share/powermanga/sounds/sound_spaceship_fire.wav | |
383 | share/powermanga/sounds/sound_upgrade_spaceship.wav | 383 | share/powermanga/sounds/sound_upgrade_spaceship.wav | |
384 | share/powermanga/sounds/sound_yellow_gem.wav | 384 | share/powermanga/sounds/sound_yellow_gem.wav | |
385 | share/powermanga/texts/about_en.txt | 385 | share/powermanga/texts/about_en.txt | |
386 | share/powermanga/texts/about_fr.txt | 386 | share/powermanga/texts/about_fr.txt | |
387 | share/powermanga/texts/about_it.txt | |||
387 | share/powermanga/texts/order_en.txt | 388 | share/powermanga/texts/order_en.txt | |
388 | share/powermanga/texts/order_fr.txt | 389 | share/powermanga/texts/order_fr.txt | |
390 | share/powermanga/texts/order_it.txt | |||
389 | share/powermanga/texts/scroll_en.txt | 391 | share/powermanga/texts/scroll_en.txt | |
390 | share/powermanga/texts/scroll_fr.txt | 392 | share/powermanga/texts/scroll_fr.txt | |
393 | share/powermanga/texts/scroll_it.txt | |||
391 | share/powermanga/texts/text_en.txt | 394 | share/powermanga/texts/text_en.txt | |
392 | share/powermanga/texts/text_fr.txt | 395 | share/powermanga/texts/text_fr.txt | |
396 | share/powermanga/texts/text_it.txt |
@@ -1,8 +1,7 @@ | @@ -1,8 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2015/11/03 20:57:01 agc Exp $ | 1 | $NetBSD: distinfo,v 1.7 2020/05/19 11:37:56 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (powermanga-0.90.tar.gz) = 50ca2844f8d3fa53af89e94aeb6dd10d7b320cc8 | 3 | SHA1 (powermanga-0.93.1.tgz) = 1afed179a80eefe590887184f665a4c35c8b9dc6 | |
4 | RMD160 (powermanga-0.90.tar.gz) = 2f7e9cc50fd97de7131b726732acffcd5a0deaea | 4 | RMD160 (powermanga-0.93.1.tgz) = baebf0eafa772d6fc827855022bd27e68ba1c716 | |
5 | SHA512 (powermanga-0.90.tar.gz) = eb0d363e60088ca9b849aa88e0e51667cd2e4519cdf04d851495ad03394e1ee58ad1b881ca3011652ea0fb23a8af7ee6e78943985511b6d66e0d33c43c734052 | 5 | SHA512 (powermanga-0.93.1.tgz) = 852c0b4550db6c9e4ecd380077d390327f6649b6e8ab4cad246f23e7335e8622008f9fc753e2f474bf9cf7a5654b071e3f117f6a2b5be72ea53709912f4a0f41 | |
6 | Size (powermanga-0.90.tar.gz) = 11412193 bytes | 6 | Size (powermanga-0.93.1.tgz) = 11855703 bytes | |
7 | SHA1 (patch-ab) = 1173f73ac26a25402c31d771578a3ca188b367f6 | 7 | SHA1 (patch-src_Makefile.am) = cc4a9a19dd152d0a01989fe6e3b555fe19f19b0c | |
8 | SHA1 (patch-ad) = 58c7089a05d7b23d929de1ff5eae1b5141c68553 |
$NetBSD: patch-src_Makefile.am,v 1.1 2020/05/19 11:37:56 nia Exp $
- Install binaries to the usual location.
- Fix setup for score directory.
--- src/Makefile.am.orig 2014-10-18 20:06:20.000000000 +0000
+++ src/Makefile.am
@@ -1,6 +1,6 @@
-gamesdir = $(prefix)/games
-scoredir = /var/games/powermanga
+gamesdir = $(bindir)
+scoredir = $(localstatedir)/games/powermanga
score = powermanga.hi
games_PROGRAMS = powermanga
@@ -11,15 +11,10 @@ powermanga_CFLAGS = -DPREFIX=\"$(prefix)
powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -lm
install-data-hook:
- -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
- -chmod 2755 "$(DESTDIR)/$(gamesdir)/powermanga"
- $(INSTALL) -d $(DESTDIR)/$(scoredir)
- $(INSTALL) -d $(DESTDIR)/$(mandir)/fr/man6/
- $(INSTALL) -c -m 644 ../man/powermanga.fr.6 $(DESTDIR)/$(mandir)/fr/man6/powermanga.6
- -for suffix in "-easy" "" "-hard"; do \
- touch "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
- chown root:games "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
- chmod 644 "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)/$(scoredir)
+ @for suffix in "-easy" "" "-hard"; do \
+ $(TOUCH) "$(WRKSRC)/$(score)$$suffix" && \
+ $(BSD_INSTALL_GAME_DATA) "$(WRKSRC)/$(score)$$suffix" $(DESTDIR)/$(scoredir)/; \
done
if ASSEMBLY