aboutsummaryrefslogtreecommitdiffstats
path: root/games/madbomber/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/madbomber/Makefile')
-rw-r--r--games/madbomber/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/madbomber/Makefile b/games/madbomber/Makefile
new file mode 100644
index 000000000000..bf5566ed1eb9
--- /dev/null
+++ b/games/madbomber/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: madbomber
+# Date created: 13 May 1998
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= madbomber
+PORTVERSION= 0.1.8
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= SDL_image.9:${PORTSDIR}/graphics/sdl_image \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
+USE_GMAKE= yes
+MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/madbomber ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/madbomber
+ @cd ${WRKSRC}/data; tar cf - . | \
+ (cd ${PREFIX}/share/madbomber; ${TAR} --unlink -xf - )
+
+.include <bsd.port.mk>