aboutsummaryrefslogtreecommitdiffstats
path: root/games/csmash
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-29 01:18:03 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-29 01:18:03 +0800
commit665d5819016e9966ee3dfddbad1a0f6dd54cca9e (patch)
tree206d7f9f45deb8b49de54968c1904067af6396b5 /games/csmash
parentbdc5e9ffee5c992d4ff76095a13cf1ae8db10665 (diff)
downloadfreebsd-ports-gnome-665d5819016e9966ee3dfddbad1a0f6dd54cca9e.tar.gz
freebsd-ports-gnome-665d5819016e9966ee3dfddbad1a0f6dd54cca9e.tar.zst
freebsd-ports-gnome-665d5819016e9966ee3dfddbad1a0f6dd54cca9e.zip
- Fix the build with newish GCC [1]
- Kill EOL whitespace in pkg-descr - Add USE_GETTEXT per portlint(1) Reported by: pointyhat (logs) [1]
Diffstat (limited to 'games/csmash')
-rw-r--r--games/csmash/Makefile3
-rw-r--r--games/csmash/pkg-descr2
2 files changed, 4 insertions, 1 deletions
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 <bsd.port.mk>
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/