summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-16 19:34:06 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-16 19:34:06 +0000
commit8efb22083b4f85d29af7de285a55dbe04aeed51e (patch)
treed376e8b7fbbde94b84978a7bdaad87e8c323e790 /games
parent1feface4e6ba714f37b8ea94b677e003e9f8535b (diff)
downloadpkgsrc-8efb22083b4f85d29af7de285a55dbe04aeed51e.tar.gz
Initial import of 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.
Diffstat (limited to 'games')
-rw-r--r--games/powermanga/DESCR3
-rw-r--r--games/powermanga/Makefile20
-rw-r--r--games/powermanga/PLIST385
-rw-r--r--games/powermanga/distinfo9
-rw-r--r--games/powermanga/patches/patch-aa13
-rw-r--r--games/powermanga/patches/patch-ab13
-rw-r--r--games/powermanga/patches/patch-ac13
-rw-r--r--games/powermanga/patches/patch-ad104
-rw-r--r--games/powermanga/patches/patch-ae13
9 files changed, 573 insertions, 0 deletions
diff --git a/games/powermanga/DESCR b/games/powermanga/DESCR
new file mode 100644
index 00000000000..31ee989f9c6
--- /dev/null
+++ b/games/powermanga/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
new file mode 100644
index 00000000000..5e2898b9014
--- /dev/null
+++ b/games/powermanga/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/16 19:34:06 xtraeme Exp $
+#
+
+DISTNAME= powermanga
+PKGNAME= ${DISTNAME}-0.78
+CATEGORIES= games
+MASTER_SITES= http://www.tlk.fr/lesjeux/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.tlk.fr/lesjeux/
+COMMENT= SHORT_DESCRIPTION_OF_THE_PACKAGE
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+USE_X11= yes
+WRKSRC= ${WRKDIR}/powermanga-0.78
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/powermanga/PLIST b/games/powermanga/PLIST
new file mode 100644
index 00000000000..c709b23e221
--- /dev/null
+++ b/games/powermanga/PLIST
@@ -0,0 +1,385 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+bin/powermanga
+man/man6/powermanga.6
+share/powermanga/graphics/BIGSTAR0.SPR
+share/powermanga/graphics/BIGSTAR1.SPR
+share/powermanga/graphics/BIGSTAR2.SPR
+share/powermanga/graphics/BIGSTAR3.SPR
+share/powermanga/graphics/BIGSTAR4.SPR
+share/powermanga/graphics/BIGSTAR5.SPR
+share/powermanga/graphics/BIGSTAR6.SPR
+share/powermanga/graphics/BIGSTAR7.SPR
+share/powermanga/graphics/COURBE.000
+share/powermanga/graphics/COURBE.001
+share/powermanga/graphics/COURBE.002
+share/powermanga/graphics/COURBE.003
+share/powermanga/graphics/COURBE.004
+share/powermanga/graphics/COURBE.005
+share/powermanga/graphics/COURBE.006
+share/powermanga/graphics/COURBE.007
+share/powermanga/graphics/COURBE.008
+share/powermanga/graphics/COURBE.009
+share/powermanga/graphics/COURBE.010
+share/powermanga/graphics/COURBE.011
+share/powermanga/graphics/COURBE.012
+share/powermanga/graphics/COURBE.013
+share/powermanga/graphics/COURBE.014
+share/powermanga/graphics/COURBE.015
+share/powermanga/graphics/COURBE.016
+share/powermanga/graphics/COURBE.017
+share/powermanga/graphics/COURBE.018
+share/powermanga/graphics/COURBE.019
+share/powermanga/graphics/COURBE.020
+share/powermanga/graphics/COURBE.021
+share/powermanga/graphics/COURBE.022
+share/powermanga/graphics/COURBE.023
+share/powermanga/graphics/COURBE.024
+share/powermanga/graphics/COURBE.025
+share/powermanga/graphics/COURBE.026
+share/powermanga/graphics/COURBE.027
+share/powermanga/graphics/COURBE.028
+share/powermanga/graphics/COURBE.029
+share/powermanga/graphics/COURBE.030
+share/powermanga/graphics/COURBE.031
+share/powermanga/graphics/COURBE.032
+share/powermanga/graphics/COURBE.033
+share/powermanga/graphics/COURBE.034
+share/powermanga/graphics/COURBE.035
+share/powermanga/graphics/COURBE.036
+share/powermanga/graphics/COURBE.037
+share/powermanga/graphics/COURBE.038
+share/powermanga/graphics/COURBE.039
+share/powermanga/graphics/COURBE.040
+share/powermanga/graphics/COURBE.041
+share/powermanga/graphics/COURBE.042
+share/powermanga/graphics/COURBE.043
+share/powermanga/graphics/COURBE.044
+share/powermanga/graphics/COURBE.045
+share/powermanga/graphics/COURBE.046
+share/powermanga/graphics/COURBE.047
+share/powermanga/graphics/COURBE.048
+share/powermanga/graphics/COURBE.049
+share/powermanga/graphics/COURBE.050
+share/powermanga/graphics/COURBE.051
+share/powermanga/graphics/COURBE.052
+share/powermanga/graphics/COURBE.053
+share/powermanga/graphics/COURBE.054
+share/powermanga/graphics/COURBE.055
+share/powermanga/graphics/COURBE.056
+share/powermanga/graphics/COURBE.057
+share/powermanga/graphics/COURBE.058
+share/powermanga/graphics/COURBE.059
+share/powermanga/graphics/COURBE.060
+share/powermanga/graphics/COURBE.061
+share/powermanga/graphics/COURBE.062
+share/powermanga/graphics/COURBE.063
+share/powermanga/graphics/COURBE.064
+share/powermanga/graphics/COURBE.065
+share/powermanga/graphics/COURBE.066
+share/powermanga/graphics/COURBE.067
+share/powermanga/graphics/COURBE.068
+share/powermanga/graphics/COURBE.069
+share/powermanga/graphics/COURBE.070
+share/powermanga/graphics/COURBE.071
+share/powermanga/graphics/COURBE.072
+share/powermanga/graphics/COURBE.073
+share/powermanga/graphics/COURBE.074
+share/powermanga/graphics/COURBE.075
+share/powermanga/graphics/COURBE.076
+share/powermanga/graphics/COURBE.077
+share/powermanga/graphics/COURBE.078
+share/powermanga/graphics/COURBE.079
+share/powermanga/graphics/COURBE.080
+share/powermanga/graphics/COURBE.081
+share/powermanga/graphics/COURBE.082
+share/powermanga/graphics/COURBE.083
+share/powermanga/graphics/COURBE.084
+share/powermanga/graphics/COURBE.085
+share/powermanga/graphics/COURBE.086
+share/powermanga/graphics/COURBE.087
+share/powermanga/graphics/COURBE.088
+share/powermanga/graphics/COURBE.089
+share/powermanga/graphics/COURBE.090
+share/powermanga/graphics/COURBE.091
+share/powermanga/graphics/COURBE.092
+share/powermanga/graphics/COURBE.093
+share/powermanga/graphics/COURBE.094
+share/powermanga/graphics/COURBE.095
+share/powermanga/graphics/COURBE.096
+share/powermanga/graphics/COURBE.097
+share/powermanga/graphics/COURBE.098
+share/powermanga/graphics/COURBE.099
+share/powermanga/graphics/COURBE.100
+share/powermanga/graphics/COURBE.101
+share/powermanga/graphics/COURBE.102
+share/powermanga/graphics/COURBE.103
+share/powermanga/graphics/COURBE.104
+share/powermanga/graphics/COURBE.105
+share/powermanga/graphics/COURBE.106
+share/powermanga/graphics/COURBE.107
+share/powermanga/graphics/COURBE.108
+share/powermanga/graphics/COURBE.109
+share/powermanga/graphics/COURBE.110
+share/powermanga/graphics/COURBE.111
+share/powermanga/graphics/COURBE.112
+share/powermanga/graphics/COURBE.113
+share/powermanga/graphics/COURBE.114
+share/powermanga/graphics/COURBE.115
+share/powermanga/graphics/COURBE.116
+share/powermanga/graphics/COURBE.117
+share/powermanga/graphics/COURBE.118
+share/powermanga/graphics/COURBE.119
+share/powermanga/graphics/COURBE.120
+share/powermanga/graphics/COURBE.121
+share/powermanga/graphics/CURVLEV.00
+share/powermanga/graphics/CURVLEV.01
+share/powermanga/graphics/CURVLEV.02
+share/powermanga/graphics/CURVLEV.03
+share/powermanga/graphics/CURVLEV.04
+share/powermanga/graphics/CURVLEV.05
+share/powermanga/graphics/CURVLEV.06
+share/powermanga/graphics/CURVLEV.07
+share/powermanga/graphics/CURVLEV.08
+share/powermanga/graphics/CURVLEV.09
+share/powermanga/graphics/CURVLEV.10
+share/powermanga/graphics/CURVLEV.11
+share/powermanga/graphics/CURVLEV.12
+share/powermanga/graphics/CURVLEV.13
+share/powermanga/graphics/CURVLEV.14
+share/powermanga/graphics/CURVLEV.15
+share/powermanga/graphics/CURVLEV.16
+share/powermanga/graphics/CURVLEV.17
+share/powermanga/graphics/CURVLEV.18
+share/powermanga/graphics/CURVLEV.19
+share/powermanga/graphics/CURVLEV.20
+share/powermanga/graphics/CURVLEV.21
+share/powermanga/graphics/CURVLEV.22
+share/powermanga/graphics/CURVLEV.23
+share/powermanga/graphics/CURVLEV.24
+share/powermanga/graphics/CURVLEV.25
+share/powermanga/graphics/CURVLEV.26
+share/powermanga/graphics/CURVLEV.27
+share/powermanga/graphics/CURVLEV.28
+share/powermanga/graphics/CURVLEV.29
+share/powermanga/graphics/CURVLEV.30
+share/powermanga/graphics/CURVLEV.31
+share/powermanga/graphics/CURVLEV.32
+share/powermanga/graphics/CURVLEV.33
+share/powermanga/graphics/CURVLEV.34
+share/powermanga/graphics/CURVLEV.35
+share/powermanga/graphics/CURVLEV.36
+share/powermanga/graphics/CURVLEV.37
+share/powermanga/graphics/CURVLEV.38
+share/powermanga/graphics/CURVLEV.39
+share/powermanga/graphics/CURVLEV.40
+share/powermanga/graphics/CURVLEV.41
+share/powermanga/graphics/ETOILE_0.SPR
+share/powermanga/graphics/ETOILE_1.SPR
+share/powermanga/graphics/ETOILE_2.SPR
+share/powermanga/graphics/ETOILE_3.SPR
+share/powermanga/graphics/ETOILE_4.SPR
+share/powermanga/graphics/ETOILE_5.SPR
+share/powermanga/graphics/ETOILE_6.SPR
+share/powermanga/graphics/ETOILE_7.SPR
+share/powermanga/graphics/GRILLE.00
+share/powermanga/graphics/GRILLE.01
+share/powermanga/graphics/GRILLE.02
+share/powermanga/graphics/GRILLE.03
+share/powermanga/graphics/GRILLE.04
+share/powermanga/graphics/GRILLE.05
+share/powermanga/graphics/GRILLE.06
+share/powermanga/graphics/GRILLE.07
+share/powermanga/graphics/GRILLE.08
+share/powermanga/graphics/GRILLE.09
+share/powermanga/graphics/GRILLE.10
+share/powermanga/graphics/GRILLE.11
+share/powermanga/graphics/GRILLE.12
+share/powermanga/graphics/GRILLE.13
+share/powermanga/graphics/GRILLE.14
+share/powermanga/graphics/GRILLE.15
+share/powermanga/graphics/GRILLE.16
+share/powermanga/graphics/GRILLE.17
+share/powermanga/graphics/GRILLE.18
+share/powermanga/graphics/GRILLE.19
+share/powermanga/graphics/GRILLE.20
+share/powermanga/graphics/GRILLE.21
+share/powermanga/graphics/GRILLE.22
+share/powermanga/graphics/GRILLE.23
+share/powermanga/graphics/GRILLE.24
+share/powermanga/graphics/GRILLE.25
+share/powermanga/graphics/GRILLE.26
+share/powermanga/graphics/GRILLE.27
+share/powermanga/graphics/GRILLE.28
+share/powermanga/graphics/GRILLE.29
+share/powermanga/graphics/GRILLE.30
+share/powermanga/graphics/GRILLE.31
+share/powermanga/graphics/GRILLE.32
+share/powermanga/graphics/GRILLE.33
+share/powermanga/graphics/GRILLE.34
+share/powermanga/graphics/GRILLE.35
+share/powermanga/graphics/GRILLE.36
+share/powermanga/graphics/GRILLE.37
+share/powermanga/graphics/GRILLE.38
+share/powermanga/graphics/GRILLE.39
+share/powermanga/graphics/GRILLE.40
+share/powermanga/graphics/GRILLE.41
+share/powermanga/graphics/GRILLE.50
+share/powermanga/graphics/LITSTAR0.SPR
+share/powermanga/graphics/LITSTAR1.SPR
+share/powermanga/graphics/LITSTAR2.SPR
+share/powermanga/graphics/LITSTAR3.SPR
+share/powermanga/graphics/LITSTAR4.SPR
+share/powermanga/graphics/LITSTAR5.SPR
+share/powermanga/graphics/LITSTAR6.SPR
+share/powermanga/graphics/LITSTAR7.SPR
+share/powermanga/graphics/STAR0.SPR
+share/powermanga/graphics/STAR1.SPR
+share/powermanga/graphics/STAR2.SPR
+share/powermanga/graphics/STAR3.SPR
+share/powermanga/graphics/STAR4.SPR
+share/powermanga/graphics/STAR5.SPR
+share/powermanga/graphics/STAR6.SPR
+share/powermanga/graphics/STAR7.SPR
+share/powermanga/graphics/allnmis.spr
+share/powermanga/graphics/big.spr
+share/powermanga/graphics/bonus.spr
+share/powermanga/graphics/boules.spr
+share/powermanga/graphics/canons.spr
+share/powermanga/graphics/deb.gca
+share/powermanga/graphics/double.spr
+share/powermanga/graphics/eclats.spr
+share/powermanga/graphics/etbfonte1.pcx
+share/powermanga/graphics/explos.spr
+share/powermanga/graphics/fin.gca
+share/powermanga/graphics/fntscrol.spr
+share/powermanga/graphics/fontes.spr
+share/powermanga/graphics/gardi_0.spr
+share/powermanga/graphics/gardi_1.spr
+share/powermanga/graphics/gardi_10.spr
+share/powermanga/graphics/gardi_11.spr
+share/powermanga/graphics/gardi_12.spr
+share/powermanga/graphics/gardi_13.spr
+share/powermanga/graphics/gardi_2.spr
+share/powermanga/graphics/gardi_3.spr
+share/powermanga/graphics/gardi_4.spr
+share/powermanga/graphics/gardi_5.spr
+share/powermanga/graphics/gardi_6.spr
+share/powermanga/graphics/gardi_7.spr
+share/powermanga/graphics/gardi_8.spr
+share/powermanga/graphics/gardi_9.spr
+share/powermanga/graphics/image.pal
+share/powermanga/graphics/logotlk.spr
+share/powermanga/graphics/menu.spr
+share/powermanga/graphics/meteor00.spr
+share/powermanga/graphics/meteor01.spr
+share/powermanga/graphics/meteor02.spr
+share/powermanga/graphics/meteor03.spr
+share/powermanga/graphics/meteor04.spr
+share/powermanga/graphics/meteor05.spr
+share/powermanga/graphics/meteor06.spr
+share/powermanga/graphics/meteor07.spr
+share/powermanga/graphics/meteor08.spr
+share/powermanga/graphics/meteor09.spr
+share/powermanga/graphics/meteor10.spr
+share/powermanga/graphics/meteor11.spr
+share/powermanga/graphics/meteor12.spr
+share/powermanga/graphics/meteor13.spr
+share/powermanga/graphics/meteor14.spr
+share/powermanga/graphics/meteor15.spr
+share/powermanga/graphics/meteor16.spr
+share/powermanga/graphics/meteor17.spr
+share/powermanga/graphics/meteor18.spr
+share/powermanga/graphics/meteor19.spr
+share/powermanga/graphics/meteor20.spr
+share/powermanga/graphics/meteor21.spr
+share/powermanga/graphics/meteor22.spr
+share/powermanga/graphics/meteor23.spr
+share/powermanga/graphics/meteor24.spr
+share/powermanga/graphics/meteor25.spr
+share/powermanga/graphics/meteor26.spr
+share/powermanga/graphics/meteor27.spr
+share/powermanga/graphics/meteor28.spr
+share/powermanga/graphics/meteor29.spr
+share/powermanga/graphics/meteor30.spr
+share/powermanga/graphics/meteor31.spr
+share/powermanga/graphics/meteor32.spr
+share/powermanga/graphics/meteor33.spr
+share/powermanga/graphics/meteor34.spr
+share/powermanga/graphics/meteor35.spr
+share/powermanga/graphics/meteor36.spr
+share/powermanga/graphics/meteor37.spr
+share/powermanga/graphics/meteor38.spr
+share/powermanga/graphics/meteor39.spr
+share/powermanga/graphics/meteor40.spr
+share/powermanga/graphics/meteor41.spr
+share/powermanga/graphics/meteor42.spr
+share/powermanga/graphics/nrjblue.spr
+share/powermanga/graphics/nrjgreen.spr
+share/powermanga/graphics/nrjred.spr
+share/powermanga/graphics/null
+share/powermanga/graphics/option.spr
+share/powermanga/graphics/pmorder.xxx
+share/powermanga/graphics/scores.spr
+share/powermanga/graphics/sprite.spr
+share/powermanga/graphics/tab_bord1.pcx
+share/powermanga/graphics/tab_bord2.pcx
+share/powermanga/graphics/tirs.spr
+share/powermanga/graphics/v1j1i_0.spr
+share/powermanga/graphics/v1j1i_1.spr
+share/powermanga/graphics/v1j1i_2.spr
+share/powermanga/graphics/v1j1i_3.spr
+share/powermanga/graphics/v1j1i_4.spr
+share/powermanga/graphics/v2j1i_0.spr
+share/powermanga/graphics/v2j1i_1.spr
+share/powermanga/graphics/v2j1i_2.spr
+share/powermanga/graphics/v2j1i_3.spr
+share/powermanga/graphics/v2j1i_4.spr
+share/powermanga/graphics/v3j1i_0.spr
+share/powermanga/graphics/v3j1i_1.spr
+share/powermanga/graphics/v3j1i_2.spr
+share/powermanga/graphics/v3j1i_3.spr
+share/powermanga/graphics/v3j1i_4.spr
+share/powermanga/graphics/v4j1i_0.spr
+share/powermanga/graphics/v4j1i_1.spr
+share/powermanga/graphics/v4j1i_2.spr
+share/powermanga/graphics/v4j1i_3.spr
+share/powermanga/graphics/v4j1i_4.spr
+share/powermanga/graphics/v5j1i_0.spr
+share/powermanga/graphics/v5j1i_1.spr
+share/powermanga/graphics/v5j1i_2.spr
+share/powermanga/graphics/v5j1i_3.spr
+share/powermanga/graphics/v5j1i_4.spr
+share/powermanga/sounds/bonus1.wav
+share/powermanga/sounds/bonus2.wav
+share/powermanga/sounds/bonus3.wav
+share/powermanga/sounds/bonus4.wav
+share/powermanga/sounds/end.zik
+share/powermanga/sounds/game.zik
+share/powermanga/sounds/intro.zik
+share/powermanga/sounds/nmispec.wav
+share/powermanga/sounds/noselect.wav
+share/powermanga/sounds/ondechoc.wav
+share/powermanga/sounds/select.wav
+share/powermanga/sounds/tir1.wav
+share/powermanga/sounds/tir1nmi.wav
+share/powermanga/sounds/tir2.wav
+share/powermanga/sounds/tir2nmi.wav
+share/powermanga/sounds/tir3nmi.wav
+share/powermanga/sounds/tir4nmi.wav
+share/powermanga/sounds/vchange1.wav
+share/powermanga/sounds/vchange2.wav
+share/powermanga/sounds/xploa1.wav
+share/powermanga/sounds/xploa2.wav
+share/powermanga/sounds/xploa3.wav
+share/powermanga/sounds/xploa4.wav
+share/powermanga/sounds/xplob1.wav
+share/powermanga/sounds/xplob2.wav
+share/powermanga/sounds/xplob3.wav
+share/powermanga/sounds/xplob4.wav
+share/powermanga/sounds/xploc1.wav
+share/powermanga/sounds/xploc2.wav
+share/powermanga/sounds/xploc3.wav
+share/powermanga/sounds/xploc4.wav
+@dirrm share/powermanga/sounds
+@dirrm share/powermanga/graphics
+@dirrm share/powermanga
diff --git a/games/powermanga/distinfo b/games/powermanga/distinfo
new file mode 100644
index 00000000000..7ee2c94d9f5
--- /dev/null
+++ b/games/powermanga/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+SHA1 (powermanga.tar.gz) = e17d217caead1d60a546a7917af0848d0eaa3a10
+Size (powermanga.tar.gz) = 6802816 bytes
+SHA1 (patch-aa) = 7653196f6ae42a9a176afdcf3588432e36da55c9
+SHA1 (patch-ab) = e8b538813f269c1971ebe7e50b21c0cdc5edc4de
+SHA1 (patch-ac) = 7f45ee51f2863bf37e92f5c16978528d57bc97d7
+SHA1 (patch-ad) = 9a53afa7dbc2c8522585711bd7ec8c058c08c1e4
+SHA1 (patch-ae) = 6bd5f08cdc5eeefe8184d423745debbf80cfad11
diff --git a/games/powermanga/patches/patch-aa b/games/powermanga/patches/patch-aa
new file mode 100644
index 00000000000..f4c4ac0e7b7
--- /dev/null
+++ b/games/powermanga/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+--- 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/patches/patch-ab b/games/powermanga/patches/patch-ab
new file mode 100644
index 00000000000..7440ba0ece9
--- /dev/null
+++ b/games/powermanga/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+--- 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/patches/patch-ac b/games/powermanga/patches/patch-ac
new file mode 100644
index 00000000000..1bdb47e64ad
--- /dev/null
+++ b/games/powermanga/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+--- 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/patches/patch-ad b/games/powermanga/patches/patch-ad
new file mode 100644
index 00000000000..99b883b4543
--- /dev/null
+++ b/games/powermanga/patches/patch-ad
@@ -0,0 +1,104 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/04/16 19:34:10 xtraeme Exp $
+
+--- 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/patches/patch-ae b/games/powermanga/patches/patch-ae
new file mode 100644
index 00000000000..5e5bd738655
--- /dev/null
+++ b/games/powermanga/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/04/16 19:34:10 xtraeme Exp $
+
+--- 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);