From owner-svn-ports-head@freebsd.org Sun Aug 23 11:31:43 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 277893BA658; Sun, 23 Aug 2020 11:31:43 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZCl302Mhz4YwD; Sun, 23 Aug 2020 11:31:43 +0000 (UTC) (envelope-from amdmi3@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D730F26A00; Sun, 23 Aug 2020 11:31:42 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07NBVg5Y074039; Sun, 23 Aug 2020 11:31:42 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07NBVgYa074035; Sun, 23 Aug 2020 11:31:42 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <202008231131.07NBVgYa074035@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 23 Aug 2020 11:31:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545817 - in head/games/scummvm-tools: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/scummvm-tools: . files X-SVN-Commit-Revision: 545817 X-SVN-Commit-Repository: ports 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.33 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: Sun, 23 Aug 2020 11:31:43 -0000 Author: amdmi3 Date: Sun Aug 23 11:31:41 2020 New Revision: 545817 URL: https://svnweb.freebsd.org/changeset/ports/545817 Log: - Update to 2.1.0 - Fix LICENSE - Fix RUN_DEPENDS - Fix configure handling - Fix desktop file categories - Simplify stripping - Switch to options helpers PR: 248149 Submitted by: amdmi3 Approved by: lme (maintainer) Added: head/games/scummvm-tools/files/ head/games/scummvm-tools/files/patch-configure (contents, props changed) Modified: head/games/scummvm-tools/Makefile head/games/scummvm-tools/distinfo head/games/scummvm-tools/pkg-plist Modified: head/games/scummvm-tools/Makefile ============================================================================== --- head/games/scummvm-tools/Makefile Sun Aug 23 10:50:03 2020 (r545816) +++ head/games/scummvm-tools/Makefile Sun Aug 23 11:31:41 2020 (r545817) @@ -2,21 +2,20 @@ # $FreeBSD$ PORTNAME= scummvm-tools -PORTVERSION= 2.0.0 -PORTREVISION= 6 +PORTVERSION= 2.1.0 CATEGORIES= games emulators MASTER_SITES= http://www.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/ MAINTAINER= lme@FreeBSD.org COMMENT= Tools for use with the SCUMMVM game emulator -LICENSE= GPLv2 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS:= ${BUILD_DEPENDS} BUILD_DEPENDS= lame:audio/lame \ flac:audio/flac \ oggenc:audio/vorbis-tools +RUN_DEPENDS:= ${BUILD_DEPENDS} LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpng.so:graphics/png \ libmad.so:audio/libmad \ @@ -25,50 +24,36 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gmake iconv tar:bzip2 -GNU_CONFIGURE= yes +HAS_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-verbose-build -CONFIGURE_TARGET= +CONFIGURE_ARGS= --prefix="${PREFIX}" --enable-verbose-build -STRIP_FILES= construct_mohawk create_sjisfnt decine decompile degob \ - dekyra deriven descumm desword2 extract_mohawk gob_loadcalc \ - scummvm-tools-cli - DESKTOP_ENTRIES="ScummVM Tools" \ "" \ "${DATADIR}/scummvmtools_128.png" \ "${PORTNAME}" \ - "Games;" \ + "Utility;Compression;" \ false PORTDOCS= COPYRIGHT NEWS README TODO -OPTIONS_DEFINE= WXGTK DOCS -OPTIONS_DEFAULT= WXGTK +OPTIONS_DEFINE= WXGTK DOCS +OPTIONS_DEFAULT=WXGTK +OPTIONS_SUB= yes -.include +WXGTK_USE= WX=2.8 +WXGTK_VARS= WX_COMP=wx:lib:build WX_CONFIG_ARGS=absolute +WXGTK_CONFIGURE_ENABLE= wxwidgets -.if ${PORT_OPTIONS:MWXGTK} -USE_WX= 2.8 -WX_COMP= wx:lib:build -WX_CONFIG_ARGS= absolute -GUI_BIN= tools_gui -PLIST_SUB+= WX="" -STRIP_FILES+= scummvm-tools -.else -CONFIGURE_ARGS+= --disable-wxwidgets -PLIST_SUB+= WX="@comment " -.endif - pre-patch: - @${REINPLACE_CMD} -e 's|wxgtk2-2.8-config|${WX_CONFIG:C/.*\///}|' \ + @${REINPLACE_CMD} -e 's|^\(_wxconfig=\).*|\1${WX_CONFIG:C/.*\///}|' \ ${WRKSRC}/configure -pre-install: - ${STRIP_CMD} ${STRIP_FILES:S|^|${WRKSRC}/|} +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include +.include Modified: head/games/scummvm-tools/distinfo ============================================================================== --- head/games/scummvm-tools/distinfo Sun Aug 23 10:50:03 2020 (r545816) +++ head/games/scummvm-tools/distinfo Sun Aug 23 11:31:41 2020 (r545817) @@ -1,3 +1,3 @@ -TIMESTAMP = 1528670348 -SHA256 (scummvm-tools-2.0.0.tar.bz2) = 79a6fc0be81c1ed8938ec996c05f67b67f40b1de514ff1a20efa919a70fc6c22 -SIZE (scummvm-tools-2.0.0.tar.bz2) = 969421 +TIMESTAMP = 1575995430 +SHA256 (scummvm-tools-2.1.0.tar.bz2) = 76a74b8f47d4ac3bd9a6126816ab42a927662c98f7b0e70ea64814459bcd31a4 +SIZE (scummvm-tools-2.1.0.tar.bz2) = 842819 Added: head/games/scummvm-tools/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/scummvm-tools/files/patch-configure Sun Aug 23 11:31:41 2020 (r545817) @@ -0,0 +1,22 @@ +--- configure.orig 2020-07-13 19:08:26 UTC ++++ configure +@@ -1672,16 +1672,12 @@ if test "$_wxwidgets" = auto ; then + fi + + if test "$_wxwidgets" = yes ; then +- _wxincludes="`$_wxconfig --prefix="$_wxpath" --cflags`" +- _wxlibs="`$_wxconfig --prefix="$_wxpath" --libs`" +- _wxstaticlibs="`$_wxconfig --prefix="$_wxpath" --static --libs 2> /dev/null`" ++ _wxincludes="`$_wxconfig --cflags`" ++ _wxlibs="`$_wxconfig --libs`" ++ _wxstaticlibs="`$_wxconfig --static --libs 2> /dev/null`" + _wxstaticlibs=`echo $_wxstaticlibs | sed 's|-lpng||' | sed 's|-lz||'` + # _wxstaticlibs may contain non-static libraries that we also have in _wxstaticlibs. + # remove those to avoid dependency on non-static libraries +- +- # Use the compiler specified by wx-config. This is needed on some systems to get a working executable. +- CXX="`$_wxconfig --cxx`" +- LD=$CXX + + echo_n "Checking for wxwidgets gui dev component... " + has_wx_gui_dev=no Modified: head/games/scummvm-tools/pkg-plist ============================================================================== --- head/games/scummvm-tools/pkg-plist Sun Aug 23 10:50:03 2020 (r545816) +++ head/games/scummvm-tools/pkg-plist Sun Aug 23 11:31:41 2020 (r545817) @@ -4,12 +4,12 @@ bin/decine bin/decompile bin/degob bin/dekyra -bin/deriven +bin/deprince bin/descumm bin/desword2 bin/extract_mohawk bin/gob_loadcalc -%%WX%%bin/scummvm-tools +%%WXGTK%%bin/scummvm-tools bin/scummvm-tools-cli %%DATADIR%%/detaillogo.jpg %%DATADIR%%/logo.jpg