2013-09-20 17:36:33 +00:00
|
|
|
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
|
2006-01-23 20:01:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gillo
|
|
|
|
DISTVERSION= 1.0beta1
|
2012-02-18 10:18:33 +00:00
|
|
|
PORTREVISION= 5
|
2006-01-23 20:01:03 +00:00
|
|
|
CATEGORIES= games
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta1
|
2006-01-23 20:01:03 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
|
2006-07-22 04:28:27 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-01-23 20:01:03 +00:00
|
|
|
COMMENT= Players are cars throwing a magnetic fuzzy ball into a goal
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${JAM}:${PORTSDIR}/devel/jam \
|
- 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 17:56:05 +00:00
|
|
|
${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode \
|
|
|
|
${LOCALBASE}/lib/libplibsg.a:${PORTSDIR}/x11-toolkits/plib
|
2006-01-23 20:01:03 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
- 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 17:56:05 +00:00
|
|
|
USE_GL= gl
|
2006-01-23 20:01:03 +00:00
|
|
|
USE_SDL= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
JAM?= ${LOCALBASE}/bin/jam
|
|
|
|
|
2013-09-20 17:36:33 +00:00
|
|
|
NO_STAGE= yes
|
2006-01-23 20:01:03 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -i '' -e 's|SDL/||g' ${WRKSRC}/src/*
|
|
|
|
@${REINPLACE_CMD} -e 's|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|' \
|
|
|
|
${WRKSRC}/Jamrules
|
|
|
|
@${REINPLACE_CMD} -e 's|%%SDL_LDFLAGS%%|`${SDL_CONFIG} --libs`|' \
|
|
|
|
${WRKSRC}/src/Jamfile
|
|
|
|
|
|
|
|
do-build:
|
- 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 17:56:05 +00:00
|
|
|
cd ${WRKSRC} && ${SETENV} "C++=${CC}" "LOCALBASE=${LOCALBASE}" \
|
2006-01-23 20:01:03 +00:00
|
|
|
"CFLAGS=${CFLAGS} -DDATADIR=\\\"${PREFIX}/share\\\"" \
|
|
|
|
${JAM} -dx -sPREFIX=${PREFIX}
|
|
|
|
|
|
|
|
do-install:
|
2006-03-06 07:35:32 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gillo3 ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.* ${DATADIR}
|
2006-01-23 20:01:03 +00:00
|
|
|
|
2007-04-15 21:06:14 +00:00
|
|
|
.include <bsd.port.mk>
|