freebsd-ports/games/maxr/Makefile
Dmitry Marakasov b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00

41 lines
909 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= maxr
PORTVERSION= 0.2.8
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.maxr.org/downloads/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Mechanized Assault and Exploration Reloaded
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= localbase
GNU_CONFIGURE= yes
USE_SDL= sdl mixer net
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
PLIST_DIRS= %%DATADIR%%/voices \
%%DATADIR%%/vehicles/sub/sub \
%%DATADIR%%/save \
%%DATADIR%%/mve
DESKTOP_ENTRIES="M.A.X.R." \
"" \
"${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>