aboutsummaryrefslogtreecommitdiffstats
path: root/games/criticalmass
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-18 02:38:34 +0800
committerkrion <krion@FreeBSD.org>2004-05-18 02:38:34 +0800
commit8680e7ca76194927f74e09f92433aebb2c9acaa1 (patch)
tree50e0117d20dce64f821ab318e58c1f1e26265a8e /games/criticalmass
parentc74d8814d28e701671f115904bc99f257cc7eec9 (diff)
downloadfreebsd-ports-gnome-8680e7ca76194927f74e09f92433aebb2c9acaa1.tar.gz
freebsd-ports-gnome-8680e7ca76194927f74e09f92433aebb2c9acaa1.tar.zst
freebsd-ports-gnome-8680e7ca76194927f74e09f92433aebb2c9acaa1.zip
- Update to version 0.99
PR: ports/66751 Submitted by: Ports Fury
Diffstat (limited to 'games/criticalmass')
-rw-r--r--games/criticalmass/Makefile29
-rw-r--r--games/criticalmass/distinfo4
2 files changed, 17 insertions, 16 deletions
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index 7b29673aa775..91a277f51726 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -6,32 +6,33 @@
#
PORTNAME= criticalmass
-PORTVERSION= 0.98
-PORTREVISION= 2
+PORTVERSION= 0.99
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= criticalmass
+MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= CriticalMass-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An SDL/OpenGL space shoot\'em up game
-USE_SDL= image mixer sdl
+CONFLICTS= shaaft-*
+
USE_BZIP2= yes
+USE_SDL= image mixer sdl
+USE_GL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \
- CPPFLAGS="${CFLAGS} -I${X11BASE}/include"
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib"
+CONFIGURE_ARGS= --disable-optimize
MAN6= critter.6
-SDLINCPFILES= utilssdl/PNG.hpp utilsgl/GLTexture.hpp \
- utilsgl/GLBitmapCollection.cpp utilsgl/GLExtension.hpp
-
-.include <bsd.port.pre.mk>
-
post-patch:
- ${REINPLACE_CMD} -e 's#sdl-config#sdl11-config#; s#-lSDL # #;' ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's#SDL/#SDL11/#;' ${SDLINCPFILES:S#^#${WRKSRC}/#}
+ @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
+ s|^CXXFLAGS|#CXXFLAGS|g ; \
+ s|-lSDL | |g' ${WRKSRC}/configure
+ @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|SDL/SDL|SDL|g'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/criticalmass/distinfo b/games/criticalmass/distinfo
index fe9f91bac0f1..4f3a92d14f76 100644
--- a/games/criticalmass/distinfo
+++ b/games/criticalmass/distinfo
@@ -1,2 +1,2 @@
-MD5 (CriticalMass-0.98.tar.bz2) = af1fdb1e4156723423255a394ee8312f
-SIZE (CriticalMass-0.98.tar.bz2) = 2290048
+MD5 (CriticalMass-0.99.tar.bz2) = e9a96039dde38caaa5d25f1cdaff8a6e
+SIZE (CriticalMass-0.99.tar.bz2) = 2293579