freebsd-ports/games/ggz-sdl-games/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

34 lines
876 B
Makefile

# Created by: yinjieh
# $FreeBSD$
PORTNAME= ggz-sdl-games
PORTVERSION= ${GGZ_VERSION}
PORTREVISION= 9
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - SDL-based games
USE_GL= gl
USE_SDL= image mixer sdl ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_GGZ= client
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lexpat
post-patch:
@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = -lggzcore -lggz|' \
${WRKSRC}/ttt3d/Makefile.in
@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = -lggzcore|' \
${WRKSRC}/geekgame/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/geekgame.dsc
${INSTALL_DATA} ${WRKSRC}/ttt3d/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/ttt3d.dsc
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>