1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/tuxkart/Makefile
Kevin Lo 4edc5062e1 Update to version 0.06
PR: 32311
Submitted by: Ports Fury
2001-11-29 06:57:22 +00:00

35 lines
910 B
Makefile

# New ports collection makefile for: tuxkart
# Date created: 08 Jun 2001
# Whom: Alexander Langer <alex@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tuxkart
PORTVERSION= 0.0.6
CATEGORIES= games
MASTER_SITES= http://tuxkart.sourceforge.net/dist/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_MESA= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= --with-plib=${X11BASE}
post-patch:
@${PERL} -pi -e 's|-O6|${PTHREAD_CFLAGS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|datadir/games|datadir|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$$\(prefix\)/games|\@bindir\@|g ; \
s|\$$\(datadir\)/games|\$$\(datadir\)|g'
.include <bsd.port.mk>