aboutsummaryrefslogtreecommitdiff
path: root/games/maxr
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-02-18 00:35:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-02-18 00:35:46 +0000
commitdd03e50462d742fe2e096475e311c177833cba12 (patch)
tree46538d694dad25cc50808373f58512df68758a92 /games/maxr
parent64dc37a50c77d51e9e954deb6b80945b6d3097af (diff)
downloadports-dd03e50462d742fe2e096475e311c177833cba12.tar.gz
ports-dd03e50462d742fe2e096475e311c177833cba12.zip
Notes
Diffstat (limited to 'games/maxr')
-rw-r--r--games/maxr/Makefile13
-rw-r--r--games/maxr/distinfo6
-rw-r--r--games/maxr/pkg-descr2
-rw-r--r--games/maxr/pkg-plist11
4 files changed, 12 insertions, 20 deletions
diff --git a/games/maxr/Makefile b/games/maxr/Makefile
index 7964484e4284..feb2039d5413 100644
--- a/games/maxr/Makefile
+++ b/games/maxr/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= maxr
-PORTVERSION= 0.2.3
+PORTVERSION= 0.2.4
CATEGORIES= games
-MASTER_SITES= http://www.maxthegame.de/downloads/ \
+MASTER_SITES= http://www.maxr.org/downloads/ \
http://mirror.amdmi3.ru/
MAINTAINER= amdmi3@FreeBSD.org
@@ -21,13 +21,8 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
post-patch:
@${REINPLACE_CMD} -e '/^LIBS=/ s|-lSDL_|`${SDL_CONFIG} --libs` &|' \
+ -e '/^LIBS=/ s|-lSDL |`${SDL_CONFIG} --libs` |' \
${WRKSRC}/configure
- @${REINPLACE_CMD} -e '/SettingsData.*Path =/ s|"\(.*\)"|"${DATADIR}/\1"|' \
- ${WRKSRC}/src/loaddata.cpp
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/maxr ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC}/data && ${COPYTREE_SHARE} "*" ${DATADIR}
+ @${REINPLACE_CMD} -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/games/maxr/distinfo b/games/maxr/distinfo
index 76cb9573cd54..cf28c01a933b 100644
--- a/games/maxr/distinfo
+++ b/games/maxr/distinfo
@@ -1,3 +1,3 @@
-MD5 (maxr-0.2.3.tar.gz) = b52b0f6ce545085277adcf20ac4597c8
-SHA256 (maxr-0.2.3.tar.gz) = 1190ba0285a6f3ce8e349eee81bc4ff4c450eade20e3a201c97ec7aaf487c9ed
-SIZE (maxr-0.2.3.tar.gz) = 14003259
+MD5 (maxr-0.2.4.tar.gz) = e9ff4a514f08579283e55cfdedff171b
+SHA256 (maxr-0.2.4.tar.gz) = 061a300d1950486a6b1e6c2a56059c74db076e3991a7cc38963a4863e7e15209
+SIZE (maxr-0.2.4.tar.gz) = 13420738
diff --git a/games/maxr/pkg-descr b/games/maxr/pkg-descr
index 2a15f2c1c9a4..55ffe7235365 100644
--- a/games/maxr/pkg-descr
+++ b/games/maxr/pkg-descr
@@ -4,4 +4,4 @@ Monch) around 2006 and became OpenSource at the end of 2007. MAXR
is based on the old M.A.X. (Mechanized Assault and Exploration) by
Interplay from 1996.
-WWW: http://www.maxthegame.de/
+WWW: http://www.maxr.org/
diff --git a/games/maxr/pkg-plist b/games/maxr/pkg-plist
index 38146b0633bc..10a6e3ade363 100644
--- a/games/maxr/pkg-plist
+++ b/games/maxr/pkg-plist
@@ -1,7 +1,5 @@
bin/maxr
%%DATADIR%%/AUTHORS
-%%DATADIR%%/COPYING
-%%DATADIR%%/COPYING.README
%%DATADIR%%/MANUAL
%%DATADIR%%/buildings/barracks/data.xml
%%DATADIR%%/buildings/barracks/img.pcx
@@ -83,7 +81,6 @@ bin/maxr
%%DATADIR%%/buildings/fac_small/info.pcx
%%DATADIR%%/buildings/fac_small/shw.pcx
%%DATADIR%%/buildings/fac_small/video.pcx
-%%DATADIR%%/buildings/goldraff/.directory
%%DATADIR%%/buildings/goldraff/data.xml
%%DATADIR%%/buildings/goldraff/effect.pcx
%%DATADIR%%/buildings/goldraff/effect_org.pcx
@@ -258,12 +255,15 @@ bin/maxr
%%DATADIR%%/gfx/edock.pcx
%%DATADIR%%/gfx/ehangar.pcx
%%DATADIR%%/gfx/fac_build_screen.pcx
+%%DATADIR%%/gfx/fuel.pcx
+%%DATADIR%%/gfx/gold.pcx
%%DATADIR%%/gfx/hand.pcx
%%DATADIR%%/gfx/hangar.pcx
%%DATADIR%%/gfx/help.pcx
%%DATADIR%%/gfx/help_screen.pcx
%%DATADIR%%/gfx/hotseatplayers.pcx
%%DATADIR%%/gfx/hud_bottom.pcx
+%%DATADIR%%/gfx/hud_extra_players.pcx
%%DATADIR%%/gfx/hud_left.pcx
%%DATADIR%%/gfx/hud_right.pcx
%%DATADIR%%/gfx/hud_stuff.pcx
@@ -315,10 +315,8 @@ bin/maxr
%%DATADIR%%/languages/lang_rus.xml
%%DATADIR%%/maps/Delta.wrl
%%DATADIR%%/maps/Three Isles.wrl
-%%DATADIR%%/max.xml
-%%DATADIR%%/maxr
-%%DATADIR%%/maxr.png
%%DATADIR%%/maxr.bmp
+%%DATADIR%%/maxr.png
%%DATADIR%%/music/music.xml
%%DATADIR%%/sounds/Chat.wav
%%DATADIR%%/sounds/absorb.wav
@@ -721,7 +719,6 @@ bin/maxr
%%DATADIR%%/vehicles/infantery/img2_10.pcx
%%DATADIR%%/vehicles/infantery/img2_11.pcx
%%DATADIR%%/vehicles/infantery/img2_12.pcx
-%%DATADIR%%/vehicles/infantery/img3.xcf
%%DATADIR%%/vehicles/infantery/img3_00.pcx
%%DATADIR%%/vehicles/infantery/img3_01.pcx
%%DATADIR%%/vehicles/infantery/img3_02.pcx