ports/66751: Update port: games/criticalmass to 0.99
KATO Tsuguru
tkato at prontomail.com
Mon May 17 14:40:17 UTC 2004
>Number: 66751
>Category: ports
>Synopsis: Update port: games/criticalmass to 0.99
>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: Mon May 17 07:40:12 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 0.99
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/criticalmass/Makefile games/criticalmass/Makefile
--- /usr/ports/games/criticalmass/Makefile Fri Mar 26 13:26:32 2004
+++ games/criticalmass/Makefile Mon May 17 01:44:47 2004
@@ -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 at 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 -urN /usr/ports/games/criticalmass/distinfo games/criticalmass/distinfo
--- /usr/ports/games/criticalmass/distinfo Wed Mar 31 18:07:29 2004
+++ games/criticalmass/distinfo Mon May 17 01:42:18 2004
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list