2003-05-09 01:11:35 +02:00
|
|
|
# New ports collection makefile for: bomberclone
|
|
|
|
# Date created: 5 May 2003
|
|
|
|
# Whom: Edwin Groothuis
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bomberclone
|
2003-05-12 11:06:12 +02:00
|
|
|
PORTVERSION= 0.9.8
|
2003-05-09 01:11:35 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz \
|
2003-05-12 11:06:12 +02:00
|
|
|
${PORTNAME}-data-0.6.tgz
|
2003-05-09 01:11:35 +02:00
|
|
|
|
|
|
|
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:
|
2003-05-12 11:06:12 +02:00
|
|
|
${RM} -rf ${WRKDIR}/data/tileset/default/.thumbnails
|
2003-05-09 01:11:35 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,@@LOCALBASE@@,${LOCALBASE},' \
|
|
|
|
${WRKSRC}/src/configuration.c
|
|
|
|
|
|
|
|
post-install:
|
2003-05-12 11:06:12 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/bomberclone
|
|
|
|
${CP} -R ${WRKDIR}/data/gfx ${PREFIX}/share/bomberclone
|
|
|
|
${CP} -R ${WRKDIR}/data/maps ${PREFIX}/share/bomberclone
|
|
|
|
${CP} -R ${WRKDIR}/data/player ${PREFIX}/share/bomberclone
|
|
|
|
${CP} -R ${WRKDIR}/data/tileset ${PREFIX}/share/bomberclone
|
2003-05-09 01:11:35 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|