freebsd-ports/games/maxr/Makefile
Marcus von Appen 6506e45d69 - Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
  graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.

PR:		ports/142147 ports/142248 ports/142249
Approved by:	miwi (mentor implicit)
2010-01-30 09:43:31 +00:00

37 lines
909 B
Makefile

# New ports collection makefile for: maxr
# Date created: 23 Dec 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= maxr
PORTVERSION= 0.2.6
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.maxr.org/downloads/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Mechanized Assault and Exploration Reloaded
GNU_CONFIGURE= yes
USE_SDL= sdl mixer net
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
MAKE_JOBS_SAFE= yes
DESKTOP_ENTRIES="M.A.X.R." \
"Mechanized Assault and Exploration Reloaded" \
"${DATADIR}/maxr.png" \
"maxr" \
"Game;StrategyGame;" \
false
post-patch:
@${REINPLACE_CMD} -e '/^LIBS=/ s|-lSDL_|`${SDL_CONFIG} --libs` &|' \
-e '/^LIBS=/ s|-lSDL |`${SDL_CONFIG} --libs` |' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>