aboutsummaryrefslogtreecommitdiff
path: root/games/bumprace/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-16 04:10:56 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-16 04:10:56 +0000
commit6e9bc4621598958ef2b89f1f1504d5854b617274 (patch)
tree82a3cb3bd6347da82eac4208daaf594311ea21d2 /games/bumprace/Makefile
parent6090b842da73932a2d8bff4e6bb7edd3b1150983 (diff)
Notes
Diffstat (limited to 'games/bumprace/Makefile')
-rw-r--r--games/bumprace/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/bumprace/Makefile b/games/bumprace/Makefile
new file mode 100644
index 000000000000..e40e506ba7a0
--- /dev/null
+++ b/games/bumprace/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: bumprace
+# Date created: 14 Feb 2007
+# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bumprace
+PORTVERSION= 1.5.3
+CATEGORIES= games
+MASTER_SITES= http://user.cs.tu-berlin.de/~karlb/bumprace/ \
+ http://www.amdmi3.ru/distfiles/
+
+MAINTAINER= amdmi3@amdmi3.ru
+COMMENT= Simple arcade racing game
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_SDL= sdl mixer image
+
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+PORTDOCS= FAQ README
+
+post-patch:
+ @${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>