From owner-svn-ports-all@freebsd.org Fri Oct 21 13:13:28 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7677C1B287; Fri, 21 Oct 2016 13:13:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F796145; Fri, 21 Oct 2016 13:13:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9LDDRZt083935; Fri, 21 Oct 2016 13:13:27 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9LDDRt7083932; Fri, 21 Oct 2016 13:13:27 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201610211313.u9LDDRt7083932@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 21 Oct 2016 13:13:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424413 - in head/games: apoolGL pouetchess prboom-plus 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.23 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: Fri, 21 Oct 2016 13:13:28 -0000 Author: mat Date: Fri Oct 21 13:13:27 2016 New Revision: 424413 URL: https://svnweb.freebsd.org/changeset/ports/424413 Log: Some more clever usage of printf \r. The games/prboom-plus bits were not used anywhere. Sponsored by: Absolight Modified: head/games/apoolGL/Makefile (contents, props changed) head/games/pouetchess/Makefile (contents, props changed) head/games/prboom-plus/Makefile.include (contents, props changed) Modified: head/games/apoolGL/Makefile ============================================================================== --- head/games/apoolGL/Makefile Fri Oct 21 13:09:22 2016 (r424412) +++ head/games/apoolGL/Makefile Fri Oct 21 13:13:27 2016 (r424413) @@ -15,13 +15,14 @@ LICENSE= GPLv2+ USE_SDL= sdl USE_GL= gl +USES= dos2unix +DOS2UNIX_FILES= ApoolGL.txt OPTIONS_DEFINE= DOCS PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features post-patch: - @${REINPLACE_CMD} -e "s|`${PRINTF} '\r'`$$||" ${WRKSRC}/ApoolGL.txt @${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/*.c do-build: Modified: head/games/pouetchess/Makefile ============================================================================== --- head/games/pouetchess/Makefile Fri Oct 21 13:09:22 2016 (r424412) +++ head/games/pouetchess/Makefile Fri Oct 21 13:13:27 2016 (r424413) @@ -12,7 +12,8 @@ COMMENT= Open-source 3D chess game USE_SDL= sdl image USE_GL= gl -USES= gmake +USES= dos2unix gmake +DOS2UNIX_GLOB= *.cpp *.h Makefile config.ini WRKSRC= ${WRKDIR}/pouetChess_0.11 @@ -26,10 +27,6 @@ DESKTOP_ENTRIES="pouetChess" \ false post-patch: - @${FIND} ${WRKSRC} \( -name "*.cpp" -o -name "*.h" -o -name Makefile \ - -o -name config.ini \) -exec ${REINPLACE_CMD} -e \ - "s|$$(${PRINTF} '\r')$$||" {} \; - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^LIBS/ s|$$| -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/CXX / d' ${WRKSRC}/Makefile Modified: head/games/prboom-plus/Makefile.include ============================================================================== --- head/games/prboom-plus/Makefile.include Fri Oct 21 13:09:22 2016 (r424412) +++ head/games/prboom-plus/Makefile.include Fri Oct 21 13:13:27 2016 (r424413) @@ -10,15 +10,3 @@ DMDIR?= ${LOCALBASE}/share/doom MAKE_ENV+= DMDIR="${DMDIR}" PLIST_SUB+= DMDIR="${DMDIR:S/${LOCALBASE}\///}" SUB_LIST+= DMDIR="${DMDIR}" - -.if defined(USE_CRLF) -. if defined(USE_ZIP) -EXTRACT_BEFORE_ARGS= -aqo -. else -pre-patch: - @${FIND} ${WRKDIR} -type f -print0 | \ - ${XARGS} -0 ${FILE} | ${GREP} 'CRLF' | \ - ${SED} -e "s/:.*//" | ${SED} -e 's/ /\\ /g' | \ - ${XARGS} ${REINPLACE_CMD} -i "" -e "s/`${PRINTF} '\r'`$$//" -. endif -.endif