2000-09-28 11:32:23 +02:00
|
|
|
# New ports collection makefile for: bomberinstinct
|
|
|
|
# Date created: 28 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bomberinstinct
|
2001-07-05 19:47:28 +02:00
|
|
|
PORTVERSION= 0.8.7
|
2000-09-28 11:32:23 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://harpe.dptmaths.ens-cachan.fr/U/gesbert/dl/
|
|
|
|
DISTNAME= BomberInstinct-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
|
|
|
|
|
2001-07-05 19:47:28 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2000-09-28 11:32:23 +02:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2001-07-05 19:47:28 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
2001-07-18 14:03:17 +02:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2000-09-28 11:32:23 +02:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e 's|<SDL/|<|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|