aboutsummaryrefslogtreecommitdiffstats
path: root/games/criticalmass
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-03-07 05:34:43 +0800
committerpav <pav@FreeBSD.org>2005-03-07 05:34:43 +0800
commitfc43557632af4a1e543b9d2ac4b96609a34a7508 (patch)
tree6f3dccf721c2658eef48b2eb50fb11b7cb26d02d /games/criticalmass
parent9b77d88dc29c743b26b2736dd2f571b3cfc7df7c (diff)
downloadfreebsd-ports-gnome-fc43557632af4a1e543b9d2ac4b96609a34a7508.tar.gz
freebsd-ports-gnome-fc43557632af4a1e543b9d2ac4b96609a34a7508.tar.zst
freebsd-ports-gnome-fc43557632af4a1e543b9d2ac4b96609a34a7508.zip
- Update to 0.9.10
PR: ports/78499 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games/criticalmass')
-rw-r--r--games/criticalmass/Makefile11
-rw-r--r--games/criticalmass/distinfo4
-rw-r--r--games/criticalmass/files/patch-HashString.hpp20
-rw-r--r--games/criticalmass/files/patch-Input.hpp11
-rw-r--r--games/criticalmass/files/patch-utils::WalkDirectory.hpp10
-rw-r--r--games/criticalmass/pkg-plist5
6 files changed, 20 insertions, 41 deletions
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index 91a277f51726..fba7b56c4b11 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -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_SDL= image mixer sdl
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 --git a/games/criticalmass/distinfo b/games/criticalmass/distinfo
index 4f3a92d14f76..384bb54962a5 100644
--- a/games/criticalmass/distinfo
+++ b/games/criticalmass/distinfo
@@ -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 --git a/games/criticalmass/files/patch-HashString.hpp b/games/criticalmass/files/patch-HashString.hpp
deleted file mode 100644
index c969a29da334..000000000000
--- a/games/criticalmass/files/patch-HashString.hpp
+++ /dev/null
@@ -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 --git a/games/criticalmass/files/patch-Input.hpp b/games/criticalmass/files/patch-Input.hpp
deleted file mode 100644
index f2e01fc86312..000000000000
--- a/games/criticalmass/files/patch-Input.hpp
+++ /dev/null
@@ -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 --git a/games/criticalmass/files/patch-utils::WalkDirectory.hpp b/games/criticalmass/files/patch-utils::WalkDirectory.hpp
new file mode 100644
index 000000000000..679cdfa0f098
--- /dev/null
+++ b/games/criticalmass/files/patch-utils::WalkDirectory.hpp
@@ -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 --git a/games/criticalmass/pkg-plist b/games/criticalmass/pkg-plist
deleted file mode 100644
index 51538f3c0758..000000000000
--- a/games/criticalmass/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/Packer
-bin/critter
-share/Critical_Mass/lg-criti.xm
-share/Critical_Mass/resource.dat
-@dirrm share/Critical_Mass