aboutsummaryrefslogtreecommitdiffstats
path: root/games/cake
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-03-21 21:18:08 +0800
committerdanfe <danfe@FreeBSD.org>2008-03-21 21:18:08 +0800
commitaff006de8cff86222828b3ce616c6ddc5c892242 (patch)
treef8672db1ed39e74aceb31f2a4b7b861434d81473 /games/cake
parentc206e8b920e4cbc7648737e73bf23596c08e348b (diff)
downloadfreebsd-ports-gnome-aff006de8cff86222828b3ce616c6ddc5c892242.tar.gz
freebsd-ports-gnome-aff006de8cff86222828b3ce616c6ddc5c892242.tar.zst
freebsd-ports-gnome-aff006de8cff86222828b3ce616c6ddc5c892242.zip
- Drop USE_X_PREFIX
- Clean up pkg-message and Makefile
Diffstat (limited to 'games/cake')
-rw-r--r--games/cake/Makefile5
-rw-r--r--games/cake/pkg-message5
2 files changed, 3 insertions, 7 deletions
diff --git a/games/cake/Makefile b/games/cake/Makefile
index a2ba97b9b407..f940b718fb2d 100644
--- a/games/cake/Makefile
+++ b/games/cake/Makefile
@@ -28,7 +28,6 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
# in bsd.port.mk.
PATCH_ARGS= -d ${PATCH_WRKSRC} -N -s -E ${PATCH_STRIP} -l
USE_GMAKE= yes
-USE_X_PREFIX= yes
USE_ZIP= yes
ALL_TARGET= main
@@ -50,13 +49,15 @@ post-extract: .SILENT
${REINPLACE_CMD} -e 's/ENABLE_SOUND 1/ENABLE_SOUND 0/' \
${WRKSRC}/cake/sound.h
${REINPLACE_CMD} -e 's/167/96/' ${WRKSRC}/main.cpp
- # GCC 4.x fix
+# Fix for GCC 4.x
${REINPLACE_CMD} -e 's/Mat3x2:://' ${WRKSRC}/cake/math.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main ${PREFIX}/bin/cake
post-install:
+ @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
.include <bsd.port.mk>
diff --git a/games/cake/pkg-message b/games/cake/pkg-message
index b7364982586f..94e089f1ae43 100644
--- a/games/cake/pkg-message
+++ b/games/cake/pkg-message
@@ -1,6 +1,3 @@
-
-=======================================================================
-
You can put custom configuration file in the same directory where you
run cake binary from, named `config.ini'. Some default values are:
@@ -18,5 +15,3 @@ NOTE: cake requires a gfx card that supports following extensions:
* GL_EXT_compiled_vertex_array
* GL_ARB_multitexture
-
-=======================================================================