aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/criticalmass/Makefile30
-rw-r--r--games/criticalmass/distinfo1
-rw-r--r--games/criticalmass/pkg-comment1
-rw-r--r--games/criticalmass/pkg-descr3
-rw-r--r--games/criticalmass/pkg-plist6
6 files changed, 42 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 5ef0052baaa1..0e0ab7930328 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -57,6 +57,7 @@
SUBDIR += crafty-open-rock
SUBDIR += crafty-open-small
SUBDIR += crimson
+ SUBDIR += criticalmass
SUBDIR += crossfire-client
SUBDIR += crossfire-server
SUBDIR += crossword
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>
diff --git a/games/criticalmass/distinfo b/games/criticalmass/distinfo
new file mode 100644
index 000000000000..7f66e673108d
--- /dev/null
+++ b/games/criticalmass/distinfo
@@ -0,0 +1 @@
+MD5 (CriticalMass-0.97.tar.bz2) = b93832127bab9a43a8b98395b5a7b91b
diff --git a/games/criticalmass/pkg-comment b/games/criticalmass/pkg-comment
new file mode 100644
index 000000000000..146826e81fbd
--- /dev/null
+++ b/games/criticalmass/pkg-comment
@@ -0,0 +1 @@
+An SDL/OpenGL space shoot'em up game
diff --git a/games/criticalmass/pkg-descr b/games/criticalmass/pkg-descr
new file mode 100644
index 000000000000..9dfed9e14f01
--- /dev/null
+++ b/games/criticalmass/pkg-descr
@@ -0,0 +1,3 @@
+An SDL/OpenGL space shoot'em up game
+
+WWW: http://criticalmass.sourceforge.net/
diff --git a/games/criticalmass/pkg-plist b/games/criticalmass/pkg-plist
new file mode 100644
index 000000000000..f8cc23d0607c
--- /dev/null
+++ b/games/criticalmass/pkg-plist
@@ -0,0 +1,6 @@
+bin/Packer
+bin/critter
+bin/puckman
+share/Critical_Mass/lg-criti.xm
+share/Critical_Mass/resource.dat
+@dirrm share/Critical_Mass