From nobody Thu Nov 14 08:44:29 2024 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 4XptxV22xTz5cLm4; Thu, 14 Nov 2024 08:44:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XptxT4lQMz4plF; Thu, 14 Nov 2024 08:44:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573869; 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=/RpQSLZZj0h1nLrhmTGqLED9+Wq7vOQ5b1CLN+h4xiE=; b=KmAN4PJhwSDvaMnpIIgilQIznXqUkNcadoHW8Hp5UNvDjqSRq7UmNa8ir/reoG+VHVjpAV IbD+c2by8NN8XExgE+oFcQD2mrn4xmrn0pXTQOuX2CJPPHV7OwdMuh6jO07xiAGAYmxjfQ H7HkFc0qOuy9ElY76tbBUWpMGjI02ogk4lYQUWUDwnM6EB4UycX3qB9aXVFDMSTDwTWOis 24Cb+4jLPKRUnTfgxGfqfreRFLHKEOZ2BR+hOIoHKctF0vOsLzgBSfhLKxoBqMhAClEgl1 vU8vR3PgStZScDrblSCpuggOy9MhpX30N/IvGfbxZEof54IrzpiPB4KLbyrlUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573869; 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=/RpQSLZZj0h1nLrhmTGqLED9+Wq7vOQ5b1CLN+h4xiE=; b=Hw7f2PNKA2fvY5fwnvdBNHBaz13koB47v+ScsBLOwmkwq5etjHcBxD6u5qCRFIeuLXAujm eZSB9OfdeVhfAvsggB9bKHKZG0KAOMomShqqZimrNeMWyIJl0K9lDPkazXahlbP3xaplsm HukakHTIMmtWLMZBol9bTKckLBPtzyEHDmnYWizrB/Fw/ZwvSS+rX8SWj5cHgGBBqngs9w h6kwQbvP7ihAoFzfKCzsUc+fND60sg/J9P1QmqBx8orvdG72so4uPiHHsukIm0pW9ZwzXQ fhWcLvMMRjiPnQiZc8yfNn9RHreQ6BagU+TEx9vs0CtlQ1dqBZ6ms9TbA7ZlzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731573869; a=rsa-sha256; cv=none; b=yJrIXf4Co7olfBWEPjM+5R669xXnC1jsZTV+C751M6nF1sXuFLOWg3ftuUbhcrnL1jy5Nl G6bR88o41awv0ugnlrR1ShsC6oYh2XRrdpRaIa9Oqv8w63s6D9yXOzoprVtfdvM7Pdmlf4 JXqWnONQDM9SPTxg0QplzW9ucLACt8TRfBMIBDaKxrxsONOs4Tvp8ce1b/y4NmhlpSLcHe WW1MOVUxPb61jRQYRRbAfKqQXp94Px5BG7oxPRuJC04uq4QRMTXpgZUq+R5R/1bdPQvw0m 8UkJa0486KMjCSk6NFzg/xN06RlFgm3aELP2Q3EpXQ2jX+Wx5VAjTDUjZ++vHA== 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 4XptxT4MM7zXPn; Thu, 14 Nov 2024 08:44:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AE8iTf7021202; Thu, 14 Nov 2024 08:44:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE8iTgh021199; Thu, 14 Nov 2024 08:44:29 GMT (envelope-from git) Date: Thu, 14 Nov 2024 08:44:29 GMT Message-Id: <202411140844.4AE8iTgh021199@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 2b9e7c186a2e - main - games/sokoban: install xsokoban's screens 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2b9e7c186a2ecaa18da974741cd9404ba1f4fa61 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b9e7c186a2ecaa18da974741cd9404ba1f4fa61 commit 2b9e7c186a2ecaa18da974741cd9404ba1f4fa61 Author: mew14930xvi AuthorDate: 2024-11-13 12:09:00 +0000 Commit: Robert Clausecker CommitDate: 2024-11-14 08:43:28 +0000 games/sokoban: install xsokoban's screens - maintainership goes to submitter PR: 281881 --- games/sokoban/Makefile | 24 ++++++++++++---------- games/sokoban/distinfo | 3 +++ games/sokoban/files/patch-sokoban.h | 9 +++++++++ games/sokoban/pkg-descr | 1 + games/sokoban/pkg-plist | 40 +++++++++++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+), 11 deletions(-) diff --git a/games/sokoban/Makefile b/games/sokoban/Makefile index 23d2dcef432c..96cfd72e8613 100644 --- a/games/sokoban/Makefile +++ b/games/sokoban/Makefile @@ -1,21 +1,23 @@ -PORTNAME= sokoban -PORTVERSION= 1.0 -PORTREVISION= 2 -CATEGORIES= games -MASTER_SITES= SUNSITE/games/strategy -DISTNAME= ${PORTNAME}-src +PORTNAME= sokoban +DISTVERSION= 1.0 +PORTREVISION= 3 +CATEGORIES= games +MASTER_SITES= SUNSITE/games/strategy:src \ + http://www.cs.cornell.edu/andru/release/:x +DISTFILES= ${PORTNAME}-src.tar.gz:src xsokoban-3.3c.tar.gz:x -MAINTAINER= ports@FreeBSD.org -COMMENT= Logical game: problems with packets in cave +MAINTAINER= mew14930xvi@inbox.lv +COMMENT= Logical game: problems with packets in cave -USES= ncurses -WRKSRC= ${WRKDIR}/sokoban +USES= ncurses ALL_TARGET= +WRKSRC= ${WRKDIR}/sokoban do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${STAGEDIR}${PREFIX}/bin/sokoban @${MKDIR} ${STAGEDIR}${DATADIR}/screens - ${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens + ${INSTALL_DATA} ${WRKSRC}/screens/sokoban.help \ + ${WRKDIR}/xsokoban/screens/* ${STAGEDIR}${DATADIR}/screens @${MKDIR} ${STAGEDIR}/var/games/sokoban truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample diff --git a/games/sokoban/distinfo b/games/sokoban/distinfo index 6173ee5b3133..14d2147cab70 100644 --- a/games/sokoban/distinfo +++ b/games/sokoban/distinfo @@ -1,2 +1,5 @@ +TIMESTAMP = 1731471504 SHA256 (sokoban-src.tar.gz) = f75d4e89b11cb4d5e944b902e2f333111c7027435670af9ee5d0a889a8c665f3 SIZE (sokoban-src.tar.gz) = 16287 +SHA256 (xsokoban-3.3c.tar.gz) = 292fa7968e75ebe40bc71470f7dbaccb053a9f6b34a9d0038a372d213cbad400 +SIZE (xsokoban-3.3c.tar.gz) = 98961 diff --git a/games/sokoban/files/patch-sokoban.h b/games/sokoban/files/patch-sokoban.h index a5e9e1a15dba..e6e0c19c327f 100644 --- a/games/sokoban/files/patch-sokoban.h +++ b/games/sokoban/files/patch-sokoban.h @@ -24,3 +24,12 @@ /**/ /* MAXUSERNAME: defines the maximum length of a system's user name */ /**/ +@@ -32,7 +42,7 @@ + /**/ + /* MAXSCOREENTRIES: defines the maximum numner of entries in the scoretable */ + /**/ +-#define MAXSCOREENTRIES 50 ++#define MAXSCOREENTRIES 90 + + /**/ + /* SUPERUSER: defines the name of the game superuser */ diff --git a/games/sokoban/pkg-descr b/games/sokoban/pkg-descr index e8ac4d15f197..3e891b89070c 100644 --- a/games/sokoban/pkg-descr +++ b/games/sokoban/pkg-descr @@ -2,3 +2,4 @@ This is port of SOKOBAN - logical game, where U must solve problems with pushing packets in labirints. The problem is to push packets to saving positions by moving around and pushing only one packet at a time if possible. +This port installs the screens added by xsokoban. diff --git a/games/sokoban/pkg-plist b/games/sokoban/pkg-plist index a6ddd19a3fea..523b877ab157 100644 --- a/games/sokoban/pkg-plist +++ b/games/sokoban/pkg-plist @@ -52,3 +52,43 @@ %%DATADIR%%/screens/screen.48 %%DATADIR%%/screens/screen.49 %%DATADIR%%/screens/screen.50 +%%DATADIR%%/screens/screen.51 +%%DATADIR%%/screens/screen.52 +%%DATADIR%%/screens/screen.53 +%%DATADIR%%/screens/screen.54 +%%DATADIR%%/screens/screen.55 +%%DATADIR%%/screens/screen.56 +%%DATADIR%%/screens/screen.57 +%%DATADIR%%/screens/screen.58 +%%DATADIR%%/screens/screen.59 +%%DATADIR%%/screens/screen.60 +%%DATADIR%%/screens/screen.61 +%%DATADIR%%/screens/screen.62 +%%DATADIR%%/screens/screen.63 +%%DATADIR%%/screens/screen.64 +%%DATADIR%%/screens/screen.65 +%%DATADIR%%/screens/screen.66 +%%DATADIR%%/screens/screen.67 +%%DATADIR%%/screens/screen.68 +%%DATADIR%%/screens/screen.69 +%%DATADIR%%/screens/screen.70 +%%DATADIR%%/screens/screen.71 +%%DATADIR%%/screens/screen.72 +%%DATADIR%%/screens/screen.73 +%%DATADIR%%/screens/screen.74 +%%DATADIR%%/screens/screen.75 +%%DATADIR%%/screens/screen.76 +%%DATADIR%%/screens/screen.77 +%%DATADIR%%/screens/screen.78 +%%DATADIR%%/screens/screen.79 +%%DATADIR%%/screens/screen.80 +%%DATADIR%%/screens/screen.81 +%%DATADIR%%/screens/screen.82 +%%DATADIR%%/screens/screen.83 +%%DATADIR%%/screens/screen.84 +%%DATADIR%%/screens/screen.85 +%%DATADIR%%/screens/screen.86 +%%DATADIR%%/screens/screen.87 +%%DATADIR%%/screens/screen.88 +%%DATADIR%%/screens/screen.89 +%%DATADIR%%/screens/screen.90