From owner-svn-ports-all@FreeBSD.ORG Sun Jan 19 19:48:42 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27534687; Sun, 19 Jan 2014 19:48:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC4EF175D; Sun, 19 Jan 2014 19:48:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JJmfVH069841; Sun, 19 Jan 2014 19:48:41 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0JJmfg2069840; Sun, 19 Jan 2014 19:48:41 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401191948.s0JJmfg2069840@svn.freebsd.org> From: Rusmir Dusko Date: Sun, 19 Jan 2014 19:48:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340345 - head/games/abe X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 19:48:42 -0000 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 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})