freebsd-ports/games/maxr/Makefile

39 lines
894 B
Makefile
Raw Normal View History

# New ports collection makefile for: maxr
# Date created: 23 Dec 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= maxr
2012-01-09 19:11:55 +01:00
PORTVERSION= 0.2.7
PORTREVISION= 1
CATEGORIES= games
2009-02-18 01:35:46 +01:00
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
2009-05-29 02:05:27 +02:00
MAKE_JOBS_SAFE= yes
2009-08-26 17:50:52 +02:00
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` &|' \
2009-02-18 01:35:46 +01:00
-e '/^LIBS=/ s|-lSDL |`${SDL_CONFIG} --libs` |' \
${WRKSRC}/configure
2009-02-18 01:35:46 +01:00
@${REINPLACE_CMD} -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>