aboutsummaryrefslogtreecommitdiffstats
path: root/games/criticalmass/Makefile
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2002-08-31 01:47:15 +0800
committernbm <nbm@FreeBSD.org>2002-08-31 01:47:15 +0800
commit94571408644d11d65d1ec926388083ce372bacf1 (patch)
treed5efb053068551af4627e582f15daacee30477d9 /games/criticalmass/Makefile
parent6db17273f913209289862463a2ff2a6c4c9e80d0 (diff)
downloadfreebsd-ports-gnome-94571408644d11d65d1ec926388083ce372bacf1.tar.gz
freebsd-ports-gnome-94571408644d11d65d1ec926388083ce372bacf1.tar.zst
freebsd-ports-gnome-94571408644d11d65d1ec926388083ce372bacf1.zip
Add criticalmass 0.97, an SDL/OpenGL space shoot'em up game.
Diffstat (limited to 'games/criticalmass/Makefile')
-rw-r--r--games/criticalmass/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
new file mode 100644
index 000000000000..ef92eced8538
--- /dev/null
+++ b/games/criticalmass/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: criticalmass
+# Date created: 30 Aug 2002
+# Whom: nbm
+#
+# $FreeBSD$
+#
+
+PORTNAME= criticalmass
+PORTVERSION= 0.97
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= criticalmass
+DISTNAME= CriticalMass-${PORTVERSION}
+
+MAINTAINER= nbm@FreeBSD.org
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \
+ CPPFLAGS="${CFLAGS} -I${X11BASE}/include"
+
+SDLINCPFILES= utilities/GLBitmapCollection.cpp utilities/GLExtension.hpp \
+ utilities/GLTexture.hpp utilities/PNG.hpp
+
+post-patch:
+ ${REINPLACE_CMD} -e 's#sdl-config#sdl11-config#; s#-lSDL # #;' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's#SDL/#SDL11/#;' ${SDLINCPFILES:S#^#${WRKSRC}/#}
+
+.include <bsd.port.mk>