From nobody Wed Dec 08 08:21:12 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8BF5218D90FF; Wed, 8 Dec 2021 08:21:13 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J899P1R5cz4Zx9; Wed, 8 Dec 2021 08:21:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 089507C6E; Wed, 8 Dec 2021 08:21:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B88LCwM080525; Wed, 8 Dec 2021 08:21:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B88LCpG080524; Wed, 8 Dec 2021 08:21:12 GMT (envelope-from git) Date: Wed, 8 Dec 2021 08:21:12 GMT Message-Id: <202112080821.1B88LCpG080524@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: f98f36ad53e5 - main - games/freesweep: update to 1.0.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f98f36ad53e5fc2ae72f609f192c957e76dd8071 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638951673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mI5nSGVPEGvim+FINVoRy33AcdVflB03Nx5q1aKyC7Q=; b=qpl1KRtIrgvhZz07bZNUVFal+OeOYcre6lQ7M5k61fnBOvhNO7EkM53I+rltQsXgJ6dX/K KppA91hG1z0gaJW+8QMqjLWphwtGVYbYoCRivgnXXXXrWClX84PrI6AN8Yq3+sCCnmHJUG 9W9Uz2v+ozqQLl4ApFnyCQJCt0snFhztTBf6zE/XK92zNbPAbY3TAQpvfwcwhOLhbLwulP kn+T0V/wHWTXpZ8dGTS1Ui0kCwImQWhaWkk82DpP+S1v1v4bfimCCaRg6s/aQIf42BviMf oqTW7EMAF6Gnn/TwE3ljaxYYJH1CrwCfrtJkyuu2qCqPidm6YWkCTe+46kHipg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638951673; a=rsa-sha256; cv=none; b=UIe8uNQqwkO9gCe3/IncJ2XceQAgSRZEGIhGsfbgzjXMDQQYPpOmSnNM+yoSn8xs6YAAxJ Pqq38YWacdnVP5z1Grkm/1hBB1UlNjFSM05ynNi9ZVl8SnmB7pReOuSFBuuI52H08I5aQ2 GWqBYDgqvLmWKmOHJG4klsoEmXAl7s1TUHD9QfgsUI6dRRHiSWuribx9iRNABKM7iwz9XB xzsxWBjHY/DkWVmtl2Jy9MOekO3v9uRDtfn7gcN+Whbby930HT8O+BzCZ7/KbFtyaDcUfj ruOOhVMMEITqgaiDvwRfi5kkIAPDsRBXI7GVoqYGkffkv7J84YI9rsc7PFyq/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=f98f36ad53e5fc2ae72f609f192c957e76dd8071 commit f98f36ad53e5fc2ae72f609f192c957e76dd8071 Author: Robert Clausecker AuthorDate: 2021-12-08 08:19:15 +0000 Commit: Juraj Lutter CommitDate: 2021-12-08 08:19:15 +0000 games/freesweep: update to 1.0.2 Update to 1.0.2 and while we are here: - make portlint happy - move scores file to hier(7) directory - fix plist issues and move plist to a plist file - remove --disable-debug-log which had the opposite effect - pass maintainership to fuz@fuz.su as requested by previous maintainer Upstream fixes: - always use "%s"-style format for printf()-style functions - fix build with gcc 10 PR: 260233 --- games/freesweep/Makefile | 21 ++++++++------------- games/freesweep/distinfo | 5 +++-- games/freesweep/files/patch-config.h.in | 4 ++-- games/freesweep/pkg-plist | 4 ++++ 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/games/freesweep/Makefile b/games/freesweep/Makefile index d54da11fafb1..3e5c10fc395a 100644 --- a/games/freesweep/Makefile +++ b/games/freesweep/Makefile @@ -1,40 +1,35 @@ # Created by: Andrey Zakhvatov PORTNAME= freesweep -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.2 DISTVERSIONPREFIX= v CATEGORIES= games -MAINTAINER= rwestlun@gmail.com +MAINTAINER= fuz@fuz.su COMMENT= Minesweeper-style game for text-mode terminals LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_13= ld: error: duplicate symbol: CharSet -BROKEN_FreeBSD_14= ld: error: duplicate symbol: CharSet - +USES= gmake ncurses USE_GITHUB= yes GH_ACCOUNT= rwestlund -USES= gmake ncurses GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \ - --with-scoresdir=${DATADIR} \ - --disable-debug-log + --with-scoresdir=/var/games + ALL_TARGET= ${PORTNAME} +MAKE_ARGS= VERSION='"${PORTVERSION}"' PORTDOCS= README.md -PLIST_FILES= "@(,games,2555) bin/${PORTNAME}" man/man6/${PORTNAME}.6.gz \ - %%DATADIR%%/sweeprc "@(,games,0664) %%DATADIR%%/sweeptimes" -PLIST_DIRS= %%DATADIR%% OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/freesweep ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DATADIR} - ${TOUCH} ${STAGEDIR}${DATADIR}/sweeptimes + ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}/var/games + ${TOUCH} ${STAGEDIR}/var/games/sweeptimes.sample ${INSTALL_DATA} ${WRKSRC}/sweeprc ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${STAGEDIR}${PREFIX}/man/man6 diff --git a/games/freesweep/distinfo b/games/freesweep/distinfo index 4d731bbc647f..561b80b6814b 100644 --- a/games/freesweep/distinfo +++ b/games/freesweep/distinfo @@ -1,2 +1,3 @@ -SHA256 (rwestlund-freesweep-v1.0.1_GH0.tar.gz) = f2b21fef3f547a5b8d663bf3bf9a0c74ad643d9b4043d170c29aa25248705350 -SIZE (rwestlund-freesweep-v1.0.1_GH0.tar.gz) = 93966 +TIMESTAMP = 1638919526 +SHA256 (rwestlund-freesweep-v1.0.2_GH0.tar.gz) = ec9318eec04f8a7ce20c230620f830a17bcf02d8e161866750dfb0c89ff8fe72 +SIZE (rwestlund-freesweep-v1.0.2_GH0.tar.gz) = 93986 diff --git a/games/freesweep/files/patch-config.h.in b/games/freesweep/files/patch-config.h.in index d58b997c8884..01211ff0ef6c 100644 --- a/games/freesweep/files/patch-config.h.in +++ b/games/freesweep/files/patch-config.h.in @@ -1,5 +1,5 @@ ---- config.h.in.orig Wed Nov 12 04:24:48 2003 -+++ config.h.in Wed Nov 12 04:25:07 2003 +--- config.h.in.orig 2016-02-14 22:00:30 UTC ++++ config.h.in @@ -25,7 +25,7 @@ #undef SCORESDIR diff --git a/games/freesweep/pkg-plist b/games/freesweep/pkg-plist new file mode 100644 index 000000000000..b64441aebfae --- /dev/null +++ b/games/freesweep/pkg-plist @@ -0,0 +1,4 @@ +@(,games,2555) bin/freesweep +man/man6/freesweep.6.gz +%%DATADIR%%/sweeprc +@sample(,games,0664) /var/games/sweeptimes.sample