diff options
author | shaun <shaun@FreeBSD.org> | 2006-07-18 10:13:52 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2006-07-18 10:13:52 +0800 |
commit | e757dcabc479da0c70d19a8bcaf6fff503748dba (patch) | |
tree | 04447cb1eaed9845a5499a16676e2913c570eeda /games/ppracer | |
parent | 6447f195dcbcafef926ada1f7787d72206d0d5fb (diff) | |
download | freebsd-ports-gnome-e757dcabc479da0c70d19a8bcaf6fff503748dba.tar.gz freebsd-ports-gnome-e757dcabc479da0c70d19a8bcaf6fff503748dba.tar.zst freebsd-ports-gnome-e757dcabc479da0c70d19a8bcaf6fff503748dba.zip |
- Utilise full Berlios MASTER_SITE list
- 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)
Diffstat (limited to 'games/ppracer')
-rw-r--r-- | games/ppracer/Makefile | 13 | ||||
-rw-r--r-- | games/ppracer/pkg-plist | 4 |
2 files changed, 13 insertions, 4 deletions
diff --git a/games/ppracer/Makefile b/games/ppracer/Makefile index 3c13805c57fc..a7a71352bd16 100644 --- a/games/ppracer/Makefile +++ b/games/ppracer/Makefile @@ -8,7 +8,8 @@ PORTNAME= ppracer DISTVERSION= 0.5alpha CATEGORIES= games -MASTER_SITES= http://download.berlios.de/ppracer/ +MASTER_SITES= ${MASTER_SITE_BERLIOS} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= adamw@FreeBSD.org COMMENT= 3D Downhill racing game... kindof like TuxRacer Improved @@ -23,4 +24,12 @@ USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL} -.include <bsd.port.mk> +.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> diff --git a/games/ppracer/pkg-plist b/games/ppracer/pkg-plist index afe6d236e2ee..8d1b7f84d414 100644 --- a/games/ppracer/pkg-plist +++ b/games/ppracer/pkg-plist @@ -315,8 +315,8 @@ share/pixmaps/ppracer.png %%DATADIR%%/translations/ru_RU.nut %%DATADIR%%/translations/sv_SE.nut %%DATADIR%%/translations/uk_UA.nut -@dirrm share/pixmaps -@dirrm share/applications +@dirrmtry share/pixmaps +@dirrmtry share/applications @dirrm %%DATADIR%%/translations @dirrm %%DATADIR%%/themes/terrains/snow @dirrm %%DATADIR%%/themes/terrains/sand |