From owner-svn-ports-head@freebsd.org Wed Aug 26 21:33:21 2015 Return-Path: Delivered-To: svn-ports-head@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 DFB0D9C2E34; Wed, 26 Aug 2015 21:33:20 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 D03BC1BE9; Wed, 26 Aug 2015 21:33:20 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7QLXKDm067484; Wed, 26 Aug 2015 21:33:20 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7QLXKcv067482; Wed, 26 Aug 2015 21:33:20 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201508262133.t7QLXKcv067482@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 26 Aug 2015 21:33:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395402 - in head: devel/ponscripter-sekai games/openbor X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2015 21:33:21 -0000 Author: jbeich Date: Wed Aug 26 21:33:19 2015 New Revision: 395402 URL: https://svnweb.freebsd.org/changeset/ports/395402 Log: devel/ponscripter-sekai, games/openbor: add TREMOR option TREMOR is enabled by default on platforms without hardware floating point. Modified: head/devel/ponscripter-sekai/Makefile (contents, props changed) head/games/openbor/Makefile (contents, props changed) Modified: head/devel/ponscripter-sekai/Makefile ============================================================================== --- head/devel/ponscripter-sekai/Makefile Wed Aug 26 21:33:04 2015 (r395401) +++ head/devel/ponscripter-sekai/Makefile Wed Aug 26 21:33:19 2015 (r395402) @@ -3,7 +3,7 @@ PORTNAME= ponscripter-sekai PORTVERSION= 0.0.6 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel games MAINTAINER= jbeich@FreeBSD.org @@ -11,8 +11,7 @@ COMMENT= NScripter-like novel-game inter LICENSE= GPLv2 # or any later version -LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ - libsmpeg2.so:${PORTSDIR}/multimedia/smpeg2 \ +LIB_DEPENDS= libsmpeg2.so:${PORTSDIR}/multimedia/smpeg2 \ libfreetype.so:${PORTSDIR}/print/freetype2 CONFLICTS= ponscripter-[0-9]* # doesn't exist yet @@ -35,8 +34,8 @@ PORTDOCS= BUGS CHANGES MANUAL README TOD PLIST_FILES= bin/ponscr \ share/emacs/site-lisp/ponscripter-mode.el -OPTIONS_DEFINE= DOCS MANPAGES -OPTIONS_DEFAULT=MANPAGES +OPTIONS_DEFINE= DOCS MANPAGES TREMOR +OPTIONS_DEFAULT=MANPAGES ${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/TREMOR/} MANPAGES_BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto MANPAGES_PLIST_FILES=\ @@ -45,6 +44,10 @@ MANPAGES_PLIST_FILES=\ man/man7/ponscr-syntax.7.gz \ man/man7/ponscripter.7.gz +TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor +TREMOR_CFLAGS= -DINTEGER_OGG_VORBIS +TREMOR_LIB_DEPENDS_OFF= libvorbisfile.so:${PORTSDIR}/audio/libvorbis + post-patch: @${REINPLACE_CMD} -e '/^ifdef DEBUG/,/^$$/d' \ -e 's/$$STRIPFLAG/${STRIP}/' \ @@ -58,6 +61,17 @@ post-patch-MANPAGES-off: -e 's/xmlto/${FALSE}/' \ ${WRKSRC}/configure +post-patch-TREMOR-on: + @${REINPLACE_CMD} -i .tremor.bak \ + -e 's/"libogg, libvorbis"/libvorbisidec/' \ + -e 's,vorbis/vorbisfile,tremor/ivorbisfile,' \ + -e 's,vorbis/codec,tremor/ivorbiscodec,' \ + -e '/genlink/ { s/vorbisfile/vorbisidec/; \ + /ogg/d; /vorbis$$/d; }' \ + -e 's/ $$LINKogg//; s/ $$LINKvorbis//' \ + -e 's/LINKvorbisfile/LINKvorbisidec/' \ + ${WRKSRC}/configure + post-build-MANPAGES-on: # Remove extraneous whitespace to unbreak manpage syntax ${REINPLACE_CMD} -e 's/^[[:space:]]*//; /^$$/d' \ Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Wed Aug 26 21:33:04 2015 (r395401) +++ head/games/openbor/Makefile Wed Aug 26 21:33:19 2015 (r395402) @@ -2,7 +2,7 @@ PORTNAME= openbor PORTVERSION= 3.0.r4163 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= LOCAL/jbeich \ https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn @@ -12,8 +12,7 @@ COMMENT= Moddable fighting game engine ( LICENSE= BSD3CLAUSE -LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libvpx.so:${PORTSDIR}/multimedia/libvpx USES= dos2unix gmake pkgconfig tar:xz @@ -36,12 +35,18 @@ DESKTOP_ENTRIES="OpenBOR" \ "Game;ArcadeGame;" \ "" +OPTIONS_DEFINE= TREMOR +OPTIONS_DEFAULT= ${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/TREMOR/} OPTIONS_DEFINE_i386= MMX OPTIONS_DEFAULT_i386= MMX # runtime detection MMX_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm MMX_MAKE_ARGS= BUILD_MMX=1 +TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor +TREMOR_MAKE_ARGS= BUILD_TREMOR=1 BUILD_VORBIS="" +TREMOR_LIB_DEPENDS_OFF= libvorbisfile.so:${PORTSDIR}/audio/libvorbis + # # To update snapshot: make makesum BOOTSTRAP= # Specific snapshot: make makesum SVN_FETCH= PORTVERSION=1.0.r1234