# New ports collection makefile for: diameter # Date created: 15 Jun 2006 # Whom: Dmitry Marakasov # # $FreeBSD$ # PORTNAME= diameter PORTVERSION= 0.4.0.3 PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/game${PORTNAME}/game${PORTNAME}/${PORTNAME}-0.4.0 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arcade-style game with elements of economy and adventure BUILD_DEPENDS= guichan>=0.8.1:${PORTSDIR}/devel/guichan LIB_DEPENDS= png15:${PORTSDIR}/graphics/png RUN_DEPENDS:= ${BUILD_DEPENDS} USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes USE_GL= gl USE_SDL= sdl mixer image USE_PYTHON= yes WRKSRC= ${WRKDIR}/gamediameter CPPFLAGS+= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib DATADIR= ${PREFIX}/share/gamediameter post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; /^CFLAGS=.*march/ d; \ /PKG_CONFIG/ s|libpng|libpng15|' ${WRKSRC}/configure .include