1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/maxr/Makefile
Tijl Coosemans ee97df16bd - Convert net/sdl_net to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip

Approved by:	portmgr (implicit, bump unstaged port)
2014-07-09 19:06:34 +00:00

37 lines
845 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= maxr
PORTVERSION= 0.2.8
PORTREVISION= 2
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
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
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>