aboutsummaryrefslogtreecommitdiff
path: root/games/ppracer
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-15 13:19:03 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-15 13:19:03 +0000
commit91c9c4246d2f1e544bc13967dab82e23690cb95c (patch)
tree9a1ff8d2a8099698dd7a5fe967a804033adc81bf /games/ppracer
parentbda5588150672990c41ff4ffe35d32b33c21b35a (diff)
downloadports-91c9c4246d2f1e544bc13967dab82e23690cb95c.tar.gz
ports-91c9c4246d2f1e544bc13967dab82e23690cb95c.zip
Notes
Diffstat (limited to 'games/ppracer')
-rw-r--r--games/ppracer/Makefile16
-rw-r--r--games/ppracer/pkg-descr3
2 files changed, 8 insertions, 11 deletions
diff --git a/games/ppracer/Makefile b/games/ppracer/Makefile
index e95021891d12..760def119db7 100644
--- a/games/ppracer/Makefile
+++ b/games/ppracer/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: ppracer
+# New ports collection makefile for: PlanetPenguin Racer
# Date created: 28 May, 2005
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
@@ -13,25 +13,21 @@ MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-COMMENT= 3D Downhill racing game... kindof like TuxRacer Improved
+COMMENT= 3D downhill racing game... kind of 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>
+USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= .*\.(c|cpp|h)
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/configure
- @${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/ $$//'
+ @${REINPLACE_CMD} -e 's,RacingMode::,,' ${WRKSRC}/src/racingmode.h
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/ppracer/pkg-descr b/games/ppracer/pkg-descr
index 07f72acd12b8..aff12ac93e32 100644
--- a/games/ppracer/pkg-descr
+++ b/games/ppracer/pkg-descr
@@ -1,9 +1,10 @@
PlanetPenguin Racer is an OpenGL racing game featuring Tux, the
Linux mascot. The goal of the game is to slide down a snow- and
ice-covered mountain as quickly as possible. It is based on the
-GPL version of TuxRacer.
+GPL version of TuxRacer.
Differences from TuxRacer include:
+
* Course progress bar
* Themes
* New terrain types (lava, etc.)