2008-12-26 21:23:00 +01:00
|
|
|
# New ports collection makefile for: maxr
|
|
|
|
# Date created: 23 Dec 2008
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= maxr
|
2009-05-29 02:05:27 +02:00
|
|
|
PORTVERSION= 0.2.5
|
2008-12-26 21:23:00 +01:00
|
|
|
CATEGORIES= games
|
2009-02-18 01:35:46 +01:00
|
|
|
MASTER_SITES= http://www.maxr.org/downloads/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2008-12-26 21:23:00 +01:00
|
|
|
|
|
|
|
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"
|
2009-05-29 02:05:27 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2008-12-26 21:23:00 +01:00
|
|
|
|
|
|
|
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` |' \
|
2008-12-26 21:23:00 +01:00
|
|
|
${WRKSRC}/configure
|
2009-02-18 01:35:46 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in
|
2008-12-26 21:23:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|