aboutsummaryrefslogtreecommitdiff
path: root/games/tmw
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-03-06 00:22:40 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-03-06 00:22:40 +0000
commitf7ac9aaa14ed6b6a4e6015108feca96a6fda3c39 (patch)
tree51c1edabf331e3362f195f7dd7dca6898a678beb /games/tmw
parent2675b1bcc7356d13fa6194d1a5a0730276130a22 (diff)
downloadports-f7ac9aaa14ed6b6a4e6015108feca96a6fda3c39.tar.gz
ports-f7ac9aaa14ed6b6a4e6015108feca96a6fda3c39.zip
- The ManaWorld version update to 0.0.22.2 and music addon patch.
PR: ports/109752 Submitted by: maintainer (Marcus von Appen)
Notes
Notes: svn path=/head/; revision=186610
Diffstat (limited to 'games/tmw')
-rw-r--r--games/tmw/Makefile22
-rw-r--r--games/tmw/distinfo9
-rw-r--r--games/tmw/files/patch-shoplistbox.cpp12
-rw-r--r--games/tmw/pkg-plist93
4 files changed, 34 insertions, 102 deletions
diff --git a/games/tmw/Makefile b/games/tmw/Makefile
index 78a2ab5f6b28..c48b06f4ec65 100644
--- a/games/tmw/Makefile
+++ b/games/tmw/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= tmw
-PORTVERSION= 0.0.22.1
+PORTVERSION= 0.0.22.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= themanaworld
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= mva@sysfault.org
COMMENT= A free open source 2D MMORPG in development
@@ -31,9 +32,28 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` -I${X11
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+OPTIONS= MUSIC "Install additional music" On
+
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_MUSIC)
+MUSICNAME= tmwmusic-0.0.20
+MUSICSUBDIR= data/music
+DISTFILES+= ${MUSICNAME}.tar.gz
+MUSICDIR= ${WRKDIR}/${MUSICNAME}/${MUSICSUBDIR}
+PLIST_SUB+= MUSICADDON=""
+.else
+PLIST_SUB+= MUSICADDON="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+post-install:
+.if !defined(WITHOUT_MUSIC)
+ ${MKDIR} ${DATADIR}/data/music
+ ${FIND} -E ${MUSICDIR} -type f -iregex ".*\.ogg" \
+ -exec ${INSTALL_DATA} "{}" "${DATADIR}/${MUSICSUBDIR}" \;
+.endif
+
.include <bsd.port.post.mk>
diff --git a/games/tmw/distinfo b/games/tmw/distinfo
index ca90b765a1c0..1e0ed3d068f0 100644
--- a/games/tmw/distinfo
+++ b/games/tmw/distinfo
@@ -1,3 +1,6 @@
-MD5 (tmw-0.0.22.1.tar.gz) = 0ebcd26b40eddd1e5acf4b59009a604b
-SHA256 (tmw-0.0.22.1.tar.gz) = ecf1f85738187dfb191572af0978467bf7d1f311fcec9eb4b0b98fee740d3604
-SIZE (tmw-0.0.22.1.tar.gz) = 3563351
+MD5 (tmw-0.0.22.2.tar.gz) = c799a59487284b6812aae42c431b7103
+SHA256 (tmw-0.0.22.2.tar.gz) = c427e3cb9caa03a3f371e89df162846903b1ca0a946e251f7465aac92b71375e
+SIZE (tmw-0.0.22.2.tar.gz) = 3043675
+MD5 (tmwmusic-0.0.20.tar.gz) = eec5e7d6c8ddb8938209815dbf5da812
+SHA256 (tmwmusic-0.0.20.tar.gz) = 964bb27235cdc3199c392f6ddf25ce293c6f32e013abe85592b96221a5896939
+SIZE (tmwmusic-0.0.20.tar.gz) = 9259802
diff --git a/games/tmw/files/patch-shoplistbox.cpp b/games/tmw/files/patch-shoplistbox.cpp
deleted file mode 100644
index 5a9d560d28dc..000000000000
--- a/games/tmw/files/patch-shoplistbox.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/gui/shoplistbox.cpp Fri Jan 26 14:07:54 2007
-+++ src/gui/shoplistbox.cpp Fri Jan 26 14:03:21 2007
-@@ -112,7 +112,7 @@
- mSelected = std::min(mListModel->getNumberOfElements() - 1,
- std::max(-1, selected));
-
-- gcn::BasicContainer *parent = getParent();
-+ gcn::Widget *parent = getParent();
- if (parent)
- {
- gcn::Rectangle scroll;
-
diff --git a/games/tmw/pkg-plist b/games/tmw/pkg-plist
index 387e01993ac9..e749b821d4e3 100644
--- a/games/tmw/pkg-plist
+++ b/games/tmw/pkg-plist
@@ -48,91 +48,6 @@ share/pixmaps/tmw.png
%%DATADIR%%/data/graphics/images/ambient/night.png
%%DATADIR%%/data/graphics/images/ambient/sandstorm.png
%%DATADIR%%/data/graphics/images/ambient/spotlight.png
-%%DATADIR%%/data/graphics/sprites/chest-cotton-male.xml
-%%DATADIR%%/data/graphics/sprites/chest-cotton-male.png
-%%DATADIR%%/data/graphics/sprites/chest-cotton-female.xml
-%%DATADIR%%/data/graphics/sprites/chest-cotton-female.png
-%%DATADIR%%/data/graphics/sprites/chest-leather-male.png
-%%DATADIR%%/data/graphics/sprites/chest-leather-male.xml
-%%DATADIR%%/data/graphics/sprites/chest-leather-female.png
-%%DATADIR%%/data/graphics/sprites/chest-leather-female.xml
-%%DATADIR%%/data/graphics/sprites/chest-tnecksweater-male.png
-%%DATADIR%%/data/graphics/sprites/chest-tnecksweater-male.xml
-%%DATADIR%%/data/graphics/sprites/chest-tnecksweater-female.png
-%%DATADIR%%/data/graphics/sprites/chest-tnecksweater-female.xml
-%%DATADIR%%/data/graphics/sprites/chest-vnecksweater-male.png
-%%DATADIR%%/data/graphics/sprites/chest-vnecksweater-male.xml
-%%DATADIR%%/data/graphics/sprites/chest-vnecksweater-female.png
-%%DATADIR%%/data/graphics/sprites/chest-vnecksweater-female.xml
-%%DATADIR%%/data/graphics/sprites/emotions.png
-%%DATADIR%%/data/graphics/sprites/error.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle1.png
-%%DATADIR%%/data/graphics/sprites/hairstyle1.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle2.png
-%%DATADIR%%/data/graphics/sprites/hairstyle2.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle3.png
-%%DATADIR%%/data/graphics/sprites/hairstyle3.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle4.png
-%%DATADIR%%/data/graphics/sprites/hairstyle4.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle5.png
-%%DATADIR%%/data/graphics/sprites/hairstyle5.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle6.png
-%%DATADIR%%/data/graphics/sprites/hairstyle6.xml
-%%DATADIR%%/data/graphics/sprites/hairstyle7.png
-%%DATADIR%%/data/graphics/sprites/hairstyle7.xml
-%%DATADIR%%/data/graphics/sprites/head-antlerhat.png
-%%DATADIR%%/data/graphics/sprites/head-antlerhat.xml
-%%DATADIR%%/data/graphics/sprites/head-christmastree.xml
-%%DATADIR%%/data/graphics/sprites/head-christmastreehat.png
-%%DATADIR%%/data/graphics/sprites/head-rangerhat.png
-%%DATADIR%%/data/graphics/sprites/head-rangerhat.xml
-%%DATADIR%%/data/graphics/sprites/head-santabeardhat.png
-%%DATADIR%%/data/graphics/sprites/head-santabeardhat.xml
-%%DATADIR%%/data/graphics/sprites/item002.png
-%%DATADIR%%/data/graphics/sprites/item002.xml
-%%DATADIR%%/data/graphics/sprites/item004.png
-%%DATADIR%%/data/graphics/sprites/item004.xml
-%%DATADIR%%/data/graphics/sprites/item005.png
-%%DATADIR%%/data/graphics/sprites/item005.xml
-%%DATADIR%%/data/graphics/sprites/item006.png
-%%DATADIR%%/data/graphics/sprites/item006.xml
-%%DATADIR%%/data/graphics/sprites/item007.png
-%%DATADIR%%/data/graphics/sprites/item007.xml
-%%DATADIR%%/data/graphics/sprites/item008.png
-%%DATADIR%%/data/graphics/sprites/item008.xml
-%%DATADIR%%/data/graphics/sprites/item009.png
-%%DATADIR%%/data/graphics/sprites/item009.xml
-%%DATADIR%%/data/graphics/sprites/item010.png
-%%DATADIR%%/data/graphics/sprites/item010.xml
-%%DATADIR%%/data/graphics/sprites/item011.png
-%%DATADIR%%/data/graphics/sprites/item011.xml
-%%DATADIR%%/data/graphics/sprites/item012.png
-%%DATADIR%%/data/graphics/sprites/item012.xml
-%%DATADIR%%/data/graphics/sprites/item013.png
-%%DATADIR%%/data/graphics/sprites/item013.xml
-%%DATADIR%%/data/graphics/sprites/item014.png
-%%DATADIR%%/data/graphics/sprites/item014.xml
-%%DATADIR%%/data/graphics/sprites/item015.png
-%%DATADIR%%/data/graphics/sprites/item015.xml
-%%DATADIR%%/data/graphics/sprites/item016.png
-%%DATADIR%%/data/graphics/sprites/item016.xml
-%%DATADIR%%/data/graphics/sprites/item017.png
-%%DATADIR%%/data/graphics/sprites/item017.xml
-%%DATADIR%%/data/graphics/sprites/item018.png
-%%DATADIR%%/data/graphics/sprites/item018.xml
-%%DATADIR%%/data/graphics/sprites/npcs.png
-%%DATADIR%%/data/graphics/sprites/npc.xml
-%%DATADIR%%/data/graphics/sprites/player_female_base.png
-%%DATADIR%%/data/graphics/sprites/player_female_base.xml
-%%DATADIR%%/data/graphics/sprites/player_male_base.xml
-%%DATADIR%%/data/graphics/sprites/player_male_base.png
-%%DATADIR%%/data/graphics/sprites/weapon0.png
-%%DATADIR%%/data/graphics/sprites/weapon1.png
-%%DATADIR%%/data/graphics/sprites/weapon2.png
-%%DATADIR%%/data/graphics/sprites/weapon-bow.xml
-%%DATADIR%%/data/graphics/sprites/weapon-fist.xml
-%%DATADIR%%/data/graphics/sprites/weapon-dagger.xml
-%%DATADIR%%/data/graphics/sprites/weapon-scythe.xml
%%DATADIR%%/data/graphics/tiles/Woodland_ground.png
%%DATADIR%%/data/graphics/tiles/Woodland_village.png
%%DATADIR%%/data/graphics/tiles/Woodland_village_x2.png
@@ -164,10 +79,16 @@ share/pixmaps/tmw.png
%%DATADIR%%/data/icons/tmw-icon.ico
%%DATADIR%%/data/icons/tmw-icon.png
%%DATADIR%%/data/icons/tmw-icon.xpm
+%%MUSICADDON%%%%DATADIR%%/data/music/Faith.ogg
+%%MUSICADDON%%%%DATADIR%%/data/music/Magick - Casino.ogg
+%%MUSICADDON%%%%DATADIR%%/data/music/Magick - Real.ogg
+%%MUSICADDON%%%%DATADIR%%/data/music/Magick - Small grass.ogg
+%%MUSICADDON%%%%DATADIR%%/data/music/Magick - Snow.ogg
+%%MUSICADDON%%%%DATADIR%%/data/music/finalman_and_yakslem-cavesong.ogg
+%%MUSICADDON%%@dirrm %%DATADIR%%/data/music
@dirrm %%DATADIR%%/data/icons
@dirrm %%DATADIR%%/data/help
@dirrm %%DATADIR%%/data/graphics/tiles
-@dirrm %%DATADIR%%/data/graphics/sprites
@dirrm %%DATADIR%%/data/graphics/images/ambient
@dirrm %%DATADIR%%/data/graphics/images
@dirrm %%DATADIR%%/data/graphics/gui