summaryrefslogtreecommitdiff
path: root/games/bomberclone/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-08 23:11:35 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-08 23:11:35 +0000
commit7ac265356ed37c99fe6c65e7cb7c3f8fa43c38b1 (patch)
tree73a30ac81dc91320e9f84c7eef703a6daf162d1c /games/bomberclone/Makefile
parentMaintainer update: lang/pexts to pike 7.2.492 (diff)
New port: games/bomberclone
This game is a clone of the game Atomic Bomber Man. Supports single user and network multiplayer mode.
Notes
Notes: svn path=/head/; revision=80474
Diffstat (limited to 'games/bomberclone/Makefile')
-rw-r--r--games/bomberclone/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/games/bomberclone/Makefile b/games/bomberclone/Makefile
new file mode 100644
index 000000000000..48439a1a6347
--- /dev/null
+++ b/games/bomberclone/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: bomberclone
+# Date created: 5 May 2003
+# Whom: Edwin Groothuis
+#
+# $FreeBSD$
+#
+
+PORTNAME= bomberclone
+PORTVERSION= 0.9.7
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz \
+ ${PORTNAME}-data-0.5.tgz
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= Reimplementation of Atomic Bomber Man
+
+BUILD_DEPENDS= sdl11-config:${PORTSDIR}/devel/sdl12
+LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+ SDL_image.10:${PORTSDIR}/graphics/sdl_image
+
+GNU_CONFIGURE= yes
+USE_XLIB= yes
+USE_REINPLACE= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+CONFIGURE_ARGS= --target=""
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
+
+post-extract:
+ ${RM} -r ${WRKDIR}/data/bomberclone.gfx/CVS
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,@@LOCALBASE@@,${LOCALBASE},' \
+ ${WRKSRC}/src/configuration.c
+
+post-install:
+ ${CP} -R ${WRKDIR}/data/bomberclone.gfx ${PREFIX}/share
+
+.include <bsd.port.mk>