1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/diameter/Makefile
Martin Wilke 7a7c284d52 - Update to 0.4.0.2
- Fix build with gcc 4.2/AMD64

PR:		117697
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Approved by:	portmgr (pav)
2007-11-05 11:09:55 +00:00

39 lines
899 B
Makefile

# New ports collection makefile for: diameter
# Date created: 15 Jun 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= diameter
PORTVERSION= 0.4.0.2
CATEGORIES= games
MASTER_SITES= SF
MASTER_SITE_SUBDIR= gamediameter
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Arcade-style game with elements of economy and adventure
BUILD_DEPENDS= guichan>=0.6.1:${PORTSDIR}/devel/guichan
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= yes
USE_SDL= sdl mixer image
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/gamediameter
CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${X11BASE}/include" \
LDFLAGS="`${SDL_CONFIG} --libs` -L${X11BASE}/lib"
DATADIR= ${PREFIX}/share/gamediameter
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; /^CFLAGS=.*march/ d; \
/PKG_CONFIG/ s|libpng|libpng12|' ${WRKSRC}/configure
.include <bsd.port.mk>