mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
3e4ed01146
- 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)
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: gillo
|
|
# Date created: 23 Jan 2006
|
|
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gillo
|
|
DISTVERSION= 1.0beta1
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Players are cars throwing a magnetic fuzzy ball into a goal
|
|
|
|
BUILD_DEPENDS= ${JAM}:${PORTSDIR}/devel/jam \
|
|
${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode \
|
|
${LOCALBASE}/lib/libplibsg.a:${PORTSDIR}/x11-toolkits/plib
|
|
|
|
USE_BZIP2= yes
|
|
USE_GL= gl
|
|
USE_SDL= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
JAM?= ${LOCALBASE}/bin/jam
|
|
|
|
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:
|
|
cd ${WRKSRC} && ${SETENV} "C++=${CC}" "LOCALBASE=${LOCALBASE}" \
|
|
"CFLAGS=${CFLAGS} -DDATADIR=\\\"${PREFIX}/share\\\"" \
|
|
${JAM} -dx -sPREFIX=${PREFIX}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gillo3 ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.* ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|