1999-11-21 19:18:35 +00:00
|
|
|
# New ports collection makefile for: xracer
|
|
|
|
# Version required: 0.94
|
|
|
|
# Date created: Nov 6th 1999
|
|
|
|
# Whom: troll
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xracer-0.94
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://xracer.annexia.org/
|
|
|
|
DISTFILES= xracer-0.94.tar.gz xracer-data.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= troll@digitalspark.net
|
|
|
|
|
2000-01-09 10:00:46 +00:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
GL.14:${PORTSDIR}/graphics/Mesa3
|
1999-11-21 19:18:35 +00:00
|
|
|
|
2000-01-09 10:00:46 +00:00
|
|
|
USE_XLIB= yes
|
1999-11-21 19:18:35 +00:00
|
|
|
MAKEFILE= Makefile
|
|
|
|
WRKSRC= ${WRKDIR}/xracer-0.94
|
|
|
|
|
|
|
|
USE_GMAKE= YES
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ ${ECHO} "===> Installing Tracks and Sound"
|
|
|
|
@ ${CP} -R ${WRKSRC}/../xracer-data \
|
|
|
|
${PREFIX}/lib/xracer
|
|
|
|
@ chmod -R 744 ${PREFIX}/lib/xracer
|
|
|
|
@ chmod -R a+X ${PREFIX}/lib/xracer
|
|
|
|
@ ${ECHO} "===> Installing Documentation"
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/xracer
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${PREFIX}/share/doc/xracer
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/AUTHORS \
|
|
|
|
${PREFIX}/share/doc/xracer
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/COPYING \
|
|
|
|
${PREFIX}/share/doc/xracer
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/NEWS \
|
|
|
|
${PREFIX}/share/doc/xracer
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.html \
|
|
|
|
${PREFIX}/share/doc/xracer
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/ChangeLog \
|
|
|
|
${PREFIX}/share/doc/xracer
|
|
|
|
@ ${ECHO} "===> Stripping Binaries"
|
|
|
|
@ strip ${PREFIX}/bin/xracer
|
|
|
|
@ strip ${PREFIX}/bin/mktrackmodel
|
|
|
|
@ strip ${PREFIX}/bin/mktrack
|
|
|
|
@ strip ${PREFIX}/bin/perlin
|
|
|
|
@ strip ${PREFIX}/bin/test-poly-opts
|
|
|
|
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|