freebsd-ports/games/bumprace/Makefile

39 lines
800 B
Makefile
Raw Normal View History

# New ports collection makefile for: bumprace
# Date created: 14 Feb 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= bumprace
PORTVERSION= 1.5.3
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://user.cs.tu-berlin.de/~karlb/bumprace/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple arcade racing game
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
PORTDOCS= FAQ README
post-patch:
@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>