aboutsummaryrefslogtreecommitdiff
path: root/games/sdlsand
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-06 02:59:00 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-06 02:59:00 +0000
commit1b1db71cc45501fa57a55ac85520155e7c5c3edb (patch)
treee74d2532184bf6e32425b8d28f754c0aab6fa17f /games/sdlsand
parent0415da880744fdc4dcca3d07a3fad33372166150 (diff)
downloadports-1b1db71cc45501fa57a55ac85520155e7c5c3edb.tar.gz
ports-1b1db71cc45501fa57a55ac85520155e7c5c3edb.zip
Notes
Diffstat (limited to 'games/sdlsand')
-rw-r--r--games/sdlsand/Makefile11
-rw-r--r--games/sdlsand/distinfo6
2 files changed, 9 insertions, 8 deletions
diff --git a/games/sdlsand/Makefile b/games/sdlsand/Makefile
index 891e55f72d82..2e5293b73e84 100644
--- a/games/sdlsand/Makefile
+++ b/games/sdlsand/Makefile
@@ -6,12 +6,10 @@
#
PORTNAME= sdlsand
-PORTVERSION= 20060207
-PORTREVISION= 2
+PORTVERSION= 20061017
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= sldsand-src-${PORTVERSION}
MAINTAINER= amdmi3@mail.ru
COMMENT= Simulation of falling sand and other materials
@@ -20,14 +18,17 @@ USE_ZIP= yes
USE_SDL= sdl
USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/SDL\ Sand/SDL\ Sand
+WRKSRC= ${WRKDIR}/SDL\ Sand/SDL\ Sand
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= readme.txt
+post-patch:
+ @${REINPLACE_CMD} -e '/crtdbg/ d' ${WRKSRC}/CmdLine.cpp
+
do-build:
cd ${WRKSRC} && ${CXX} -o ${PORTNAME} ${CXXFLAGS} \
- `${SDL_CONFIG} --cflags --libs` main.cpp
+ `${SDL_CONFIG} --cflags --libs` main.cpp CmdLine.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/games/sdlsand/distinfo b/games/sdlsand/distinfo
index 99649553a92d..e3ca25053d4f 100644
--- a/games/sdlsand/distinfo
+++ b/games/sdlsand/distinfo
@@ -1,3 +1,3 @@
-MD5 (sldsand-src-20060207.zip) = c2611a17ad7665bcbfb28352dc95434e
-SHA256 (sldsand-src-20060207.zip) = cab31d00789115fbd13a57b29a5a4e6752e3f70b718d168389785cdda8d649d5
-SIZE (sldsand-src-20060207.zip) = 552046
+MD5 (sdlsand-20061017.zip) = b1b29d80d4b8e70d2ae1adb3ebec066d
+SHA256 (sdlsand-20061017.zip) = ab29d5bbaaafba5a9fc23f8fbe3840db44624e8a77b62fed975c50cf2e93bc60
+SIZE (sdlsand-20061017.zip) = 883605