summaryrefslogtreecommitdiff
path: root/games/gl-117/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-08-08 05:13:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-08-08 05:13:56 +0000
commit9e257a6f54c35bef0e669cd9c374f98b5e198fb8 (patch)
tree3a699525fafae9c5491746e1070b7f0f115d04ec /games/gl-117/Makefile
parentAdd back files/patch-af which should never be removed. This patch takes care... (diff)
add gl-117 0.6
An OpenGL & SDL action flight simulator
Notes
Notes: svn path=/head/; revision=64198
Diffstat (limited to 'games/gl-117/Makefile')
-rw-r--r--games/gl-117/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/games/gl-117/Makefile b/games/gl-117/Makefile
new file mode 100644
index 000000000000..37f1f8bb2500
--- /dev/null
+++ b/games/gl-117/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection makefile for: gl-117
+# Date created: Aug 8, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gl-117
+PORTVERSION= 0.6
+CATEGORIES= games
+MASTER_SITES= http://home.t-online.de/home/Primetime./gl-117/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
+ SDL_mixer:${PORTSDIR}/audio/sdl_mixer
+
+USE_REINPLACE= yes
+USE_MESA= yes
+GNU_CONFIGURE= yes
+CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lGLU -lglut -lstdc++"
+
+post-patch:
+.for file in configure src/audio.h src/main.h src/net.h
+ @${REINPLACE_CMD} -e "s|SDL/|SDL11/|g" -e "s|-lSDL |-lSDL-1.1 |g" \
+ -e "s|-lSDLmain|-lSDLmain-1.1|g" ${WRKSRC}/${file}
+.endfor
+
+.include <bsd.port.mk>