ports/78499: Update port: games/criticalmass to 0.9.10

KATO Tsuguru tkato432 at yahoo.com
Sun Mar 6 16:10:05 UTC 2005


>Number:         78499
>Category:       ports
>Synopsis:       Update port: games/criticalmass to 0.9.10
>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:   Sun Mar 06 16:10:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.10

New file:
files/patch-utils::WalkDirectory.hpp

Remove file:
files/patch-HashString.hpp
files/patch-Input.hpp
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/criticalmass/Makefile games/criticalmass/Makefile
--- /usr/ports/games/criticalmass/Makefile	Tue May 18 22:46:27 2004
+++ games/criticalmass/Makefile	Sun Mar  6 08:59:53 2005
@@ -6,7 +6,8 @@
 #
 
 PORTNAME=	criticalmass
-PORTVERSION=	0.99
+PORTVERSION=	0.9.10
+PORTEPOCH=	1
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -22,11 +23,15 @@
 USE_GL=		yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
-		LDFLAGS="-L${X11BASE}/lib"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--disable-optimize
 
 MAN6=		critter.6
+PLIST_FILES=	bin/Packer \
+		bin/critter \
+		share/Critical_Mass/lg-criti.xm \
+		share/Critical_Mass/resource.dat
+PLIST_DIRS=	share/Critical_Mass
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
diff -urN /usr/ports/games/criticalmass/distinfo games/criticalmass/distinfo
--- /usr/ports/games/criticalmass/distinfo	Tue May 18 22:46:27 2004
+++ games/criticalmass/distinfo	Sun Mar  6 08:17:04 2005
@@ -1,2 +1,2 @@
-MD5 (CriticalMass-0.99.tar.bz2) = e9a96039dde38caaa5d25f1cdaff8a6e
-SIZE (CriticalMass-0.99.tar.bz2) = 2293579
+MD5 (CriticalMass-0.9.10.tar.bz2) = e2e17fca8d026c993723f12097003f64
+SIZE (CriticalMass-0.9.10.tar.bz2) = 2394911
diff -urN /usr/ports/games/criticalmass/files/patch-HashString.hpp games/criticalmass/files/patch-HashString.hpp
--- /usr/ports/games/criticalmass/files/patch-HashString.hpp	Mon Aug 16 22:26:42 2004
+++ games/criticalmass/files/patch-HashString.hpp	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- utils/HashString.hpp.orig	Mon Aug 16 15:01:21 2004
-+++ utils/HashString.hpp	Mon Aug 16 15:02:23 2004
-@@ -21,7 +21,7 @@
- 
- namespace HASH_NAMESPACE
- {
--    struct hash<const string>
-+    template <> struct hash<const string>
-     {
- 	//a simple hash function for string
- 	int operator()(const string & s) const
-@@ -32,7 +32,7 @@
- 	}
-     };
- 
--    struct hash<string>
-+    template <> struct hash<string>
-     {
- 	//a simple hash function for string
- 	int operator()(string s) const
diff -urN /usr/ports/games/criticalmass/files/patch-Input.hpp games/criticalmass/files/patch-Input.hpp
--- /usr/ports/games/criticalmass/files/patch-Input.hpp	Mon Aug 16 22:26:42 2004
+++ games/criticalmass/files/patch-Input.hpp	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- game/Input.hpp.orig	Mon Aug 16 15:03:38 2004
-+++ game/Input.hpp	Mon Aug 16 15:04:07 2004
-@@ -28,7 +28,7 @@
- 
- namespace HASH_NAMESPACE
- {
--    struct hash<Trigger>
-+    template <> struct hash<Trigger>
-     {
- 	//a simple hash function for Trigger
- 	int operator()(const Trigger &t) const
diff -urN /usr/ports/games/criticalmass/files/patch-utils::WalkDirectory.hpp games/criticalmass/files/patch-utils::WalkDirectory.hpp
--- /usr/ports/games/criticalmass/files/patch-utils::WalkDirectory.hpp	Thu Jan  1 09:00:00 1970
+++ games/criticalmass/files/patch-utils::WalkDirectory.hpp	Sun Mar  6 08:50:25 2005
@@ -0,0 +1,10 @@
+--- utils/WalkDirectory.hpp.orig	Sun Dec 19 15:18:06 2004
++++ utils/WalkDirectory.hpp	Sun Mar  6 08:49:51 2005
+@@ -16,6 +16,7 @@
+ #define _WalkDirectory_hpp_
+ 
+ #include <iostream>
++#include <string>
+ using namespace std;
+ 
+ #ifdef VCPP
diff -urN /usr/ports/games/criticalmass/pkg-plist games/criticalmass/pkg-plist
--- /usr/ports/games/criticalmass/pkg-plist	Sat Aug 23 16:46:34 2003
+++ games/criticalmass/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,5 +0,0 @@
-bin/Packer
-bin/critter
-share/Critical_Mass/lg-criti.xm
-share/Critical_Mass/resource.dat
- at dirrm share/Critical_Mass
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list