2005-11-21 14:33:10 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: ggz-sdl-games
|
|
|
|
# Date created: Nov 7, 2005
|
|
|
|
# Whom: yinjieh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ggz-sdl-games
|
2007-04-07 17:49:51 +02:00
|
|
|
PORTVERSION= ${GGZ_VERSION}
|
2010-08-11 08:57:34 +02:00
|
|
|
PORTREVISION= 6
|
2005-11-21 14:33:10 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2010-07-18 19:45:51 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2005-11-21 14:33:10 +01:00
|
|
|
COMMENT= The GGZ Gaming Zone - SDL-based games
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= gl
|
2005-11-21 14:33:10 +01:00
|
|
|
USE_SDL= image mixer sdl ttf
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
CONFIGURE_ARGS= --disable-debug
|
2007-04-07 17:49:51 +02:00
|
|
|
USE_GGZ= client
|
2005-11-21 14:33:10 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2005-11-21 14:33:10 +01:00
|
|
|
|
2008-02-19 22:24:19 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${PREFIX}/share/ggz/geekgame.dsc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ttt3d/module.dsc ${PREFIX}/share/ggz/ttt3d.dsc
|
|
|
|
|
2007-04-07 17:49:51 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
|
|
|
|
.include <bsd.port.post.mk>
|