Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 01:00:09 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96003: Update port: games/alephone to 20051119
Message-ID:  <20060419010009.2ce60e33.tkato432@yahoo.com>
Resent-Message-ID: <200604181610.k3IGAEDY061336@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96003
>Category:       ports
>Synopsis:       Update port: games/alephone to 20051119
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 16:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p15 i386
>Organization:
>Environment:
>Description:
- Update to version 20051119
 
New file:
files/patch-Source_Files__Misc__Logging_gruntwork.h

Remove file:
files/patch-Source_Files-Misc-thread_priority_sdl_posix.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/alephone/Makefile games/alephone/Makefile
--- /usr/ports/games/alephone/Makefile	Sun Mar 19 15:51:59 2006
+++ games/alephone/Makefile	Tue Apr 18 13:11:14 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	alephone
-PORTVERSION=	20050118
+PORTVERSION=	20051119
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	marathon
@@ -15,28 +15,38 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The open source version of Bungie's Marathon game
 
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/function.hpp:${LOCALBASE}/devel/boost
+LIB_DEPENDS=	speex.3:${PORTSDIR}/audio/speex \
+		lua.5:${PORTSDIR}/lang/lua
+
+USE_X_PREFIX=	yes
+USE_GNOME=	gnometarget
 USE_SDL=	image net sdl sound
 USE_GL=		yes
-USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
-USE_REINPLACE=	yes
-CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}" \
-		CFLAGS="${CFLAGS} -I${X11BASE}/include" \
-		CXXFLAGS="${CXXFLAGS} -I${X11BASE}/include" \
-		LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
-CONFIGURE_ARGS+=--program-transform-name=""
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+		
+CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 500035
+CXXFLAGS+=	-ftemplate-depth-30
+.endif
+
 post-patch:
+	@${REINPLACE_CMD} -e 's|<SDL/SDL|<SDL|g' \
+		${WRKSRC}/Source_Files/Misc/thread_priority_sdl_posix.cpp
 .if ${OSVERSION} < 500035
 	@${REINPLACE_CMD} -e 's|streambuf>|streambuf\.h>|' \
 		${WRKSRC}/Source_Files/CSeries/snprintf.h
+	@${REINPLACE_CMD} -e 's|m_buffer\.clear()|m_buffer.resize(0)|g ; \
+		 s|m_displayBuffer\.clear()|m_displayBuffer.resize(0)|g' \
+		${WRKSRC}/Source_Files/Misc/Console.cpp
 .endif
 
 post-install:
-.if !defined(NOPORTDOCS)
 	@${CAT} ${PKGMESSAGE}
-.endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/games/alephone/distinfo games/alephone/distinfo
--- /usr/ports/games/alephone/distinfo	Sun Jan 22 22:04:10 2006
+++ games/alephone/distinfo	Tue Apr 18 11:21:18 2006
@@ -1,3 +1,3 @@
-MD5 (AlephOne-20050118.tar.gz) = c30c96b7b24c7b44f39c1a83534e1446
-SHA256 (AlephOne-20050118.tar.gz) = 4b2692bfa9f80d74b214d875b9143fba56c8f06c72bd2339dc4cd44263be12af
-SIZE (AlephOne-20050118.tar.gz) = 1335814
+MD5 (AlephOne-20051119.tar.gz) = 35d42aa80d3d2ab54b5ec5015e5ddcf4
+SHA256 (AlephOne-20051119.tar.gz) = 0f6dcb1acd153babc3905b18bf460eca7a62a29ba963a812015510d0fa9d9752
+SIZE (AlephOne-20051119.tar.gz) = 6519469
diff -urN /usr/ports/games/alephone/files/patch-Source_Files-Misc-thread_priority_sdl_posix.cpp games/alephone/files/patch-Source_Files-Misc-thread_priority_sdl_posix.cpp
--- /usr/ports/games/alephone/files/patch-Source_Files-Misc-thread_priority_sdl_posix.cpp	Thu Jun 23 17:44:29 2005
+++ games/alephone/files/patch-Source_Files-Misc-thread_priority_sdl_posix.cpp	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- Source_Files/Misc/thread_priority_sdl_posix.cpp.orig	Fri Aug 29 03:31:10 2003
-+++ Source_Files/Misc/thread_priority_sdl_posix.cpp	Thu Jun 23 05:11:11 2005
-@@ -12,7 +12,7 @@
- #if defined(TARGET_API_MAC_CARBON) && __MACH__
- #include <SDL/SDL_Thread.h>
- #else
--#include	<SDL/SDL_thread.h>
-+#include	<SDL_thread.h>
- #endif
- 
- #include	<pthread.h>
diff -urN /usr/ports/games/alephone/files/patch-Source_Files__Misc__Logging_gruntwork.h games/alephone/files/patch-Source_Files__Misc__Logging_gruntwork.h
--- /usr/ports/games/alephone/files/patch-Source_Files__Misc__Logging_gruntwork.h	Thu Jan  1 09:00:00 1970
+++ games/alephone/files/patch-Source_Files__Misc__Logging_gruntwork.h	Tue Apr 18 12:28:19 2006
@@ -0,0 +1,25 @@
+--- Source_Files/Misc/Logging_gruntwork.h.orig	Tue Aug 30 23:47:00 2005
++++ Source_Files/Misc/Logging_gruntwork.h	Tue Apr 18 12:27:12 2006
+@@ -13,14 +13,14 @@
+ #define logDump(message)	(GetCurrentLogger()->logMessage(logDomain, logDumpLevel, __FILE__, __LINE__, (message)))
+ #else
+ // this obsoletes this whole file, pretty much - since macros can support var args and stuff :P
+-#define logFatal(...)    (GetCurrentLogger()->logMessage(logDomain, logFatalLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logError(...)    (GetCurrentLogger()->logMessage(logDomain, logErrorLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logWarning(...)  (GetCurrentLogger()->logMessage(logDomain, logWarningLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logAnomaly(...)  (GetCurrentLogger()->logMessage(logDomain, logAnomalyLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logNote(...)     (GetCurrentLogger()->logMessage(logDomain, logNoteLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logSummary(...)  (GetCurrentLogger()->logMessage(logDomain, logSummaryLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logTrace(...)    (GetCurrentLogger()->logMessage(logDomain, logTraceLevel, __FILE__, __LINE__, __VA_ARGS__))
+-#define logDump(...)     (GetCurrentLogger()->logMessage(logDomain, logDumpLevel, __FILE__, __LINE__, __VA_ARGS__))
++#define logFatal(ARGS...)    (GetCurrentLogger()->logMessage(logDomain, logFatalLevel, __FILE__, __LINE__, ##ARGS))
++#define logError(ARGS...)    (GetCurrentLogger()->logMessage(logDomain, logErrorLevel, __FILE__, __LINE__, ##ARGS))
++#define logWarning(ARGS...)  (GetCurrentLogger()->logMessage(logDomain, logWarningLevel, __FILE__, __LINE__, ##ARGS))
++#define logAnomaly(ARGS...)  (GetCurrentLogger()->logMessage(logDomain, logAnomalyLevel, __FILE__, __LINE__, ##ARGS))
++#define logNote(ARGS...)     (GetCurrentLogger()->logMessage(logDomain, logNoteLevel, __FILE__, __LINE__, ##ARGS))
++#define logSummary(ARGS...)  (GetCurrentLogger()->logMessage(logDomain, logSummaryLevel, __FILE__, __LINE__, ##ARGS))
++#define logTrace(ARGS...)    (GetCurrentLogger()->logMessage(logDomain, logTraceLevel, __FILE__, __LINE__, ##ARGS))
++#define logDump(ARGS...)     (GetCurrentLogger()->logMessage(logDomain, logDumpLevel, __FILE__, __LINE__, ##ARGS))
+ #endif
+ 
+ 
diff -urN /usr/ports/games/alephone/pkg-plist games/alephone/pkg-plist
--- /usr/ports/games/alephone/pkg-plist	Fri Mar  9 04:13:02 2001
+++ games/alephone/pkg-plist	Tue Apr 18 13:03:04 2006
@@ -1,7 +1,6 @@
 bin/alephone
 share/AlephOne/Fonts
 share/AlephOne/MML/Interface_Rects.mml
-share/AlephOne/MML/Text_Strings.mml
 share/AlephOne/MML/Transparent_Liquids.mml
 share/AlephOne/MML/Transparent_Sprites.mml
 share/AlephOne/Themes/Default/button_c.bmp
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419010009.2ce60e33.tkato432>