Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2025 08:39:05 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 65d4b3e0c5a4 - main - games/nsnake: Update to 3.0.0
Message-ID:  <202501190839.50J8d5Wk046574@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65d4b3e0c5a4cd59b66c37a7dbb45334372d39fd

commit 65d4b3e0c5a4cd59b66c37a7dbb45334372d39fd
Author:     David Demelier <markand@malikania.fr>
AuthorDate: 2025-01-19 08:30:12 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-01-19 08:38:50 +0000

    games/nsnake: Update to 3.0.0
    
    Differential Revision: https://reviews.freebsd.org/D30838
---
 games/nsnake/Makefile | 10 ++--------
 games/nsnake/distinfo |  6 +++---
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/games/nsnake/Makefile b/games/nsnake/Makefile
index 483a14cae671..a53792247b90 100644
--- a/games/nsnake/Makefile
+++ b/games/nsnake/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	nsnake
-DISTVERSION=	2.2.0
-PORTREVISION=	1
+PORTVERSION=	3.0.0
 CATEGORIES=	games
 MASTER_SITES=	http://releases.malikania.fr/nsnake/${PORTVERSION}/
 
@@ -15,13 +14,8 @@ USES=		ncurses tar:xz
 OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
-MAKE_ENV=	CC="$CC" \
-		CFLAGS+="$CFLAGS" \
-		LDFLAGS+="$LDFLAGS"
+MAKE_ARGS=	VARDIR="/var"
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|VARDIR=.*|VARDIR=/var|' \
-		${WRKSRC}/config.mk
 do-install:
 	(cd ${WRKSRC} \
 		&& ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \
diff --git a/games/nsnake/distinfo b/games/nsnake/distinfo
index 94531bf989b3..5d14bbb645bf 100644
--- a/games/nsnake/distinfo
+++ b/games/nsnake/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572999406
-SHA256 (nsnake-2.2.0.tar.xz) = 3e4b118168ad9702a8a855438409d0a866f7069b3b6b76c1eba292da2fbef27e
-SIZE (nsnake-2.2.0.tar.xz) = 9232
+TIMESTAMP = 1624266603
+SHA256 (nsnake-3.0.0.tar.xz) = 5e57108d5ca9b7be26b421efb4a3a0918ba40ed5344db772570d71ba9f825f03
+SIZE (nsnake-3.0.0.tar.xz) = 7908



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501190839.50J8d5Wk046574>