summaryrefslogtreecommitdiff
path: root/games/bomberclone/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-21 22:23:33 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-21 22:23:33 +0000
commitbfd402ad12f73a9f1711156fe6a39b470f8f4a95 (patch)
treecb06c0f312ce5a84af5458b2545191b1f390fc4c /games/bomberclone/Makefile
parentUpdate to 2.2.2. (diff)
One of the distfiles has changed suffix from .gz to .bz2.
Noticed by: Bill "distfiles" Fenner
Notes
Notes: svn path=/head/; revision=81643
Diffstat (limited to 'games/bomberclone/Makefile')
-rw-r--r--games/bomberclone/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/bomberclone/Makefile b/games/bomberclone/Makefile
index ce069e3ae8ba..00eeb83acb0f 100644
--- a/games/bomberclone/Makefile
+++ b/games/bomberclone/Makefile
@@ -11,15 +11,17 @@ CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz \
- ${PORTNAME}-data-0.6.tgz
+ ${PORTNAME}-data-0.6.tar.bz2
MAINTAINER= edwin@mavetju.org
COMMENT= Reimplementation of Atomic Bomber Man
-BUILD_DEPENDS= sdl11-config:${PORTSDIR}/devel/sdl12
+BUILD_DEPENDS= sdl11-config:${PORTSDIR}/devel/sdl12 \
+ ${BZIP2_CMD}:${PORTSDIR}/archivers/bzip2
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
+EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tgz
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_REINPLACE= yes
@@ -32,6 +34,7 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
post-extract:
+ ${TAR} --directory ${WRKDIR} --bunzip2 --extract --file ${DISTDIR}/${PORTNAME}-data-0.6.tar.bz2
${RM} -rf ${WRKDIR}/data/tileset/default/.thumbnails
post-patch: