Date: Sun, 19 Jan 2014 19:48:41 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340345 - head/games/abe Message-ID: <201401191948.s0JJmfg2069840@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Sun Jan 19 19:48:41 2014 New Revision: 340345 URL: http://svnweb.freebsd.org/changeset/ports/340345 QAT: https://qat.redports.org/buildarchive/r340345/ Log: - Change Desktop entry file - Add REINPLACE_CMD, fix src/MapIO.c - Break lines around 80 characters PR: ports/185758 Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de> Modified: head/games/abe/Makefile Modified: head/games/abe/Makefile ============================================================================== --- head/games/abe/Makefile Sun Jan 19 19:24:56 2014 (r340344) +++ head/games/abe/Makefile Sun Jan 19 19:48:41 2014 (r340345) @@ -26,8 +26,8 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="$ 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 w 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})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401191948.s0JJmfg2069840>