aboutsummaryrefslogtreecommitdiff
path: root/games/bomberinstinct/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-05 17:47:28 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-05 17:47:28 +0000
commit5ed34e420a9c823faf8703b5c1c4dcb68c90a98c (patch)
treeaebf13b2f4cc74d376a87348b8fbd8158def3b69 /games/bomberinstinct/Makefile
parentfa04bfa24fd7a5bab4a339f5b63f2934cd716aba (diff)
downloadports-5ed34e420a9c823faf8703b5c1c4dcb68c90a98c.tar.gz
ports-5ed34e420a9c823faf8703b5c1c4dcb68c90a98c.zip
Notes
Diffstat (limited to 'games/bomberinstinct/Makefile')
-rw-r--r--games/bomberinstinct/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/games/bomberinstinct/Makefile b/games/bomberinstinct/Makefile
index 97eb92fee879..b18c2c100bfb 100644
--- a/games/bomberinstinct/Makefile
+++ b/games/bomberinstinct/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bomberinstinct
-PORTVERSION= 0.8.21
-PORTREVISION= 1
+PORTVERSION= 0.8.7
CATEGORIES= games
MASTER_SITES= http://harpe.dptmaths.ens-cachan.fr/U/gesbert/dl/
DISTNAME= BomberInstinct-${PORTVERSION}
@@ -16,23 +15,17 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
-WRKSRC= ${WRKDIR}/BomberInstinct
+WRKSRC= ${WRKDIR}/${DISTNAME}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
-MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+USE_LIBTOOL= yes
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
@find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e 's|<SDL/|<|g'
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/bi ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/Nived/nived ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/Spred/spred ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/BomberInstinct
- @${INSTALL_DATA} ${WRKSRC}/bi.cfg ${PREFIX}/share/BomberInstinct
- @cd ${WRKSRC}; tar cf - Decors Sprites Niveaux Bruitages | \
- (cd ${PREFIX}/share/BomberInstinct; ${TAR} --unlink -xf - )
-
.include <bsd.port.mk>