From 665d5819016e9966ee3dfddbad1a0f6dd54cca9e Mon Sep 17 00:00:00 2001 From: danfe Date: Thu, 28 Jun 2007 17:18:03 +0000 Subject: - Fix the build with newish GCC [1] - Kill EOL whitespace in pkg-descr - Add USE_GETTEXT per portlint(1) Reported by: pointyhat (logs) [1] --- games/csmash/Makefile | 3 +++ games/csmash/pkg-descr | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/csmash/Makefile b/games/csmash/Makefile index de5d74a3fb1b..6ce8faf2b950 100644 --- a/games/csmash/Makefile +++ b/games/csmash/Makefile @@ -16,6 +16,7 @@ MASTER_SITE_SUBDIR= cannonsmash MAINTAINER= ports@FreeBSD.org COMMENT= A 3D tabletennis game +USE_GETTEXT= yes USE_SDL= image mixer sdl USE_GL= yes USE_GNOME= gnometarget gtk20 @@ -27,5 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \ post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|/games/|/|g' + @${REINPLACE_CMD} -e 's|BallView::||' ${WRKSRC}/BallView.h + @${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/matrix .include diff --git a/games/csmash/pkg-descr b/games/csmash/pkg-descr index 4d53cd222cae..2d34b6c9a51c 100644 --- a/games/csmash/pkg-descr +++ b/games/csmash/pkg-descr @@ -1,4 +1,4 @@ CannonSmash is a 3D tabletennis game. The goal of this project is to represent various strategy of tabletennis on computer game. -WWW: http://cannonsmash.sourceforge.net/ +WWW: http://cannonsmash.sourceforge.net/ -- cgit