From owner-svn-ports-all@freebsd.org Thu Mar 8 03:55:11 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25B20F2CFD6; Thu, 8 Mar 2018 03:55:11 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA482821F9; Thu, 8 Mar 2018 03:55:10 +0000 (UTC) (envelope-from tobik@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 B520D395D; Thu, 8 Mar 2018 03:55:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w283tAgj054635; Thu, 8 Mar 2018 03:55:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w283tAmw054633; Thu, 8 Mar 2018 03:55:10 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803080355.w283tAmw054633@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 8 Mar 2018 03:55:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463861 - head/games/iortcw X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/iortcw X-SVN-Commit-Revision: 463861 X-SVN-Commit-Repository: ports 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.25 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: Thu, 08 Mar 2018 03:55:11 -0000 Author: tobik Date: Thu Mar 8 03:55:10 2018 New Revision: 463861 URL: https://svnweb.freebsd.org/changeset/ports/463861 Log: games/iortcw: Add desktop entries Modified: head/games/iortcw/Makefile head/games/iortcw/pkg-plist Modified: head/games/iortcw/Makefile ============================================================================== --- head/games/iortcw/Makefile Thu Mar 8 03:01:58 2018 (r463860) +++ head/games/iortcw/Makefile Thu Mar 8 03:55:10 2018 (r463861) @@ -3,6 +3,7 @@ PORTNAME= iortcw DISTVERSION= 1.51 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games @@ -43,9 +44,13 @@ MP_DESC= Build multiplayer support SP_DESC= Build singleplayer support SP_ALL_TARGET= sp +SP_DESKTOP_ENTRIES= "Return to Castle Wolfenstein" "Return to Castle Wolfenstein" \ + "${DATADIR}/wolf512.png" "iowolfsp" "Game;" false SP_INSTALL_TARGET= sp-install MP_ALL_TARGET= mp +MP_DESKTOP_ENTRIES= "Return to Castle Wolfenstein (MP)" "Return to Castle Wolfenstein Multiplayer" \ + "${DATADIR}/wolf512.png" "iowolfmp" "Game;" false MP_INSTALL_TARGET= mp-install post-extract: @@ -54,6 +59,10 @@ post-extract: post-patch: @${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/SP/Makefile @${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/MP/Makefile + +post-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/MP/misc/wolf512.png ${STAGEDIR}${DATADIR} post-install-MP-on: ${INSTALL_SCRIPT} ${WRKDIR}/iowolfmp ${STAGEDIR}${PREFIX}/bin/iowolfmp Modified: head/games/iortcw/pkg-plist ============================================================================== --- head/games/iortcw/pkg-plist Thu Mar 8 03:01:58 2018 (r463860) +++ head/games/iortcw/pkg-plist Thu Mar 8 03:55:10 2018 (r463861) @@ -15,3 +15,4 @@ %%SP%%%%WOLFDIR%%/renderer_sp_opengl1_%%ARCH%%.so %%SP%%%%WOLFDIR%%/renderer_sp_rend2_%%ARCH%%.so %%SP%%bin/iowolfsp +%%DATADIR%%/wolf512.png