aboutsummaryrefslogtreecommitdiff
path: root/games/abe
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-01-19 19:48:41 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-01-19 19:48:41 +0000
commit7bc94d192dd84ff74ea184ad29a7550995b85a05 (patch)
treeba8e9bb8abf6822ac54312db92c58330e6ce8a24 /games/abe
parent8c88b2c93043c785aa19133e4e1a34e53efa8138 (diff)
downloadports-7bc94d192dd84ff74ea184ad29a7550995b85a05.tar.gz
ports-7bc94d192dd84ff74ea184ad29a7550995b85a05.zip
Notes
Diffstat (limited to 'games/abe')
-rw-r--r--games/abe/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/games/abe/Makefile b/games/abe/Makefile
index ff89d03d105e..07aee7830657 100644
--- a/games/abe/Makefile
+++ b/games/abe/Makefile
@@ -26,8 +26,8 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
PORTDOCS= AUTHORS ChangeLog README
-DESKTOP_ENTRIES="Abe's Amazing Avanture" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES="Abe's Amazing Avanture" "" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ""
OPTIONS_DEFINE= DOCS GOD_MODE OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= GOD_MODE OPTIMIZED_CFLAGS
@@ -37,21 +37,25 @@ GOD_MODE_DESC= Enable God Mode (toggle with 'g')
post-patch:
.if ${PORT_OPTIONS:MGOD_MODE} || ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-. if ${PORT_OPTIONS:MGOD_MODE}
+. if ${PORT_OPTIONS:MGOD_MODE}
@${REINPLACE_CMD} -e 's|#define GOD_MODE 0|#define GOD_MODE 1|' \
${WRKSRC}/src/Game.h
-. endif
-. if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
+. endif
+. if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
@${REINPLACE_CMD} -e 's|-O2||g ; \
s|-fomit-frame-pointer||g ; \
s|-ffast-math||g ; \
s|-fexpensive-optimizations||g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-. endif
+. endif
.endif
+ @${REINPLACE_CMD} -e 's|%u|%zu|' \
+ ${WRKSRC}/src/MapIO.c
+
post-install:
- ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
.for d in images maps sounds
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})