ports/131034: [Maintainer-update] games/tmw: update to 0.0.28

Marcus von Appen mva at sysfault.org
Tue Jan 27 08:10:04 UTC 2009


>Number:         131034
>Category:       ports
>Synopsis:       [Maintainer-update] games/tmw: update to 0.0.28
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 27 08:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Marcus von Appen
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 7.1-STABLE FreeBSD 7.1-STABLE #5: Tue Jan  6 10:31:53 CET
>Description:
- Update to 0.0.28

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- tmw-0.0.28.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/tmw/Makefile /usr/ports/games/tmw.new/Makefile
--- /usr/ports/games/tmw/Makefile	2009-01-23 16:42:45.000000000 +0100
+++ /usr/ports/games/tmw.new/Makefile	2009-01-27 08:57:01.000000000 +0100
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	tmw
-PORTVERSION=	0.0.27
-PORTREVISION=	1
+PORTVERSION=	0.0.28
 CATEGORIES=	games
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	themanaworld
@@ -24,16 +23,25 @@
 RUN_DEPENDS=	guichan>=0.8.1:${PORTSDIR}/devel/guichan
 
 GNU_CONFIGURE=	yes
-USE_SDL=	sdl image mixer net
+USE_SDL=	sdl image mixer net ttf
 
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}" \
-		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}"
 MAN6=		tmw.6
 
-OPTIONS=	MUSIC	"Install additional music" On
+OPTIONS=	MUSIC	"Install additional music" on \
+		NLS	"Enable gettext support" on
 
 .include <bsd.port.pre.mk>
 
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=	yes
+CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl"
+PLIST_SUB+=	NLS=""
+.else
+PLIST_SUB+=	NLS="@comment "
+CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+.endif
+
 .if !defined(WITHOUT_MUSIC)
 MUSICNAME=	tmwmusic-0.2
 MUSICSUBDIR=	data/music
@@ -46,6 +54,9 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+.if defined(WITHOUT_NLS)
+	@${REINPLACE_CMD} -e 's|SUBDIRS = data docs po src|SUBDIRS = data docs src|g' ${WRKSRC}/Makefile.in
+.endif
 
 post-install:
 .if !defined(WITHOUT_MUSIC)
diff -ruN --exclude=CVS /usr/ports/games/tmw/distinfo /usr/ports/games/tmw.new/distinfo
--- /usr/ports/games/tmw/distinfo	2008-12-13 16:33:14.000000000 +0100
+++ /usr/ports/games/tmw.new/distinfo	2009-01-26 19:53:28.000000000 +0100
@@ -1,6 +1,6 @@
-MD5 (tmw-0.0.27.tar.gz) = 8c237378bd1afb3cabdc9fd8ee7c93ce
-SHA256 (tmw-0.0.27.tar.gz) = fea09c15d14e180dc0f59dc473e941f8d9612dea3db10504ec6a46989e9da4f1
-SIZE (tmw-0.0.27.tar.gz) = 1242303
+MD5 (tmw-0.0.28.tar.gz) = 7d157a95e761ef7bee6f6a04645355ba
+SHA256 (tmw-0.0.28.tar.gz) = 2924ed142af5bbdf2c120268009abd3b2710ad456ca7ef385161b9ae520459c2
+SIZE (tmw-0.0.28.tar.gz) = 1687689
 MD5 (tmwmusic-0.2.tar.gz) = 66c9141d48a7e2ac34e7ab66298ee73c
 SHA256 (tmwmusic-0.2.tar.gz) = eb17592e84692dc5780250dfa3512b9c83c6a8f80cfb47597d3036a7ba4cd310
 SIZE (tmwmusic-0.2.tar.gz) = 17841458
diff -ruN --exclude=CVS /usr/ports/games/tmw/pkg-plist /usr/ports/games/tmw.new/pkg-plist
--- /usr/ports/games/tmw/pkg-plist	2008-12-13 16:33:14.000000000 +0100
+++ /usr/ports/games/tmw.new/pkg-plist	2009-01-26 23:03:09.000000000 +0100
@@ -1,8 +1,9 @@
 bin/tmw
 share/applications/tmw.desktop
 share/pixmaps/tmw.png
+%%DATADIR%%/data/fonts/dejavusans.ttf
 %%DATADIR%%/data/graphics/gui/bg_quad_dis.png
-%%DATADIR%%/data/graphics/gui/browserfont.png
+%%DATADIR%%/data/graphics/gui/bubble.png
 %%DATADIR%%/data/graphics/gui/button.png
 %%DATADIR%%/data/graphics/gui/button_disabled.png
 %%DATADIR%%/data/graphics/gui/buttonhi.png
@@ -31,9 +32,10 @@
 %%DATADIR%%/data/graphics/gui/radioout.png
 %%DATADIR%%/data/graphics/gui/resize.png
 %%DATADIR%%/data/graphics/gui/rpgfont_wider.png
-%%DATADIR%%/data/graphics/gui/sansserif8.png
 %%DATADIR%%/data/graphics/gui/selection.png
 %%DATADIR%%/data/graphics/gui/slider.png
+%%DATADIR%%/data/graphics/gui/tab.png
+%%DATADIR%%/data/graphics/gui/tabselected.png
 %%DATADIR%%/data/graphics/gui/target-cursor-blue-l.png
 %%DATADIR%%/data/graphics/gui/target-cursor-blue-m.png
 %%DATADIR%%/data/graphics/gui/target-cursor-blue-s.png
@@ -62,6 +64,29 @@
 %%DATADIR%%/data/help/support.txt
 %%DATADIR%%/data/help/team.txt
 %%DATADIR%%/data/icons/tmw.png
+%%NLS%%share/locale/ar/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/da/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/de/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/es/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/he/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/id/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/it/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/tmw.mo
+%%NLS%%share/locale/th/LC_MESSAGES/tmw.mo
 %%MUSICADDON%%%%DATADIR%%/data/music/Faith.ogg
 %%MUSICADDON%%%%DATADIR%%/data/music/Clouds Calling.ogg
 %%MUSICADDON%%%%DATADIR%%/data/music/Magick - Real.ogg
@@ -71,6 +96,7 @@
 %%MUSICADDON%%@dirrm %%DATADIR%%/data/music
 @dirrm %%DATADIR%%/data/icons
 @dirrm %%DATADIR%%/data/help
+ at dirrm %%DATADIR%%/data/fonts
 @dirrm %%DATADIR%%/data/graphics/images
 @dirrm %%DATADIR%%/data/graphics/gui
 @dirrm %%DATADIR%%/data/graphics
--- tmw-0.0.28.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list