1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/games/xracer/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

52 lines
1.3 KiB
Makefile

# New ports collection makefile for: xracer
# Date created: Nov 6th 1999
# Whom: troll
#
# $FreeBSD$
#
PORTNAME= xracer
PORTVERSION= 0.94
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://xracer.annexia.org/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xracer-data.tar.gz
MAINTAINER= troll@digitalspark.net
COMMENT= Awesome WipeOut clone for OpenGL and X11!
.if ${MACHINE_ARCH} != i386
BROKEN= "Does not build on ${MACHINE_ARCH}"
.endif
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_XLIB= yes
USE_MESA= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER= 14
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-esd
post-patch:
@${TOUCH} ${WRKSRC}/stamp-h.in
post-install:
@${ECHO} "===> Installing Tracks and Sound"
@${MKDIR} ${PREFIX}/share/xracer
${TAR} -C ${WRKDIR}/xracer-data -cf - . | \
${TAR} -C ${PREFIX}/share/xracer --unlink -xf -
@${CHMOD} -R 744 ${PREFIX}/share/xracer
@${CHMOD} -R a+X ${PREFIX}/share/xracer
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Documentation"
@${MKDIR} ${PREFIX}/share/doc/xracer
.for file in AUTHORS ChangeLog NEWS README README.html
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xracer
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>