118d701134
- Fix build on 4.x - Fix PLIST while here PR: ports/97873 Submitted by: shaun (me) Approved by: Maintainer timeout (50+ days), ahze (mentor, implicit)
35 lines
840 B
Makefile
35 lines
840 B
Makefile
# New ports collection makefile for: ppracer
|
|
# Date created: 28 May, 2005
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ppracer
|
|
DISTVERSION= 0.5alpha
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
COMMENT= 3D Downhill racing game... kindof like TuxRacer Improved
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
USE_BZIP2= yes
|
|
USE_SDL= mixer sdl
|
|
USE_GL= yes
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${ECHO_MSG} "===> Converting DOS text files to UNIX text files"
|
|
@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.c" -or -name "*.h" \
|
|
-type f -print0 | \
|
|
${XARGS} -0 ${REINPLACE_CMD} -i '' -e 's/
|
|
$$//'
|
|
|
|
.include <bsd.port.post.mk>
|