mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
39 lines
894 B
Makefile
39 lines
894 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.7
|
|
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
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
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>
|