Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2026 00:12:19 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Joerg Wunsch <joerg@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: b63a7f46f119 - main - games/xonix: Resurrect
Message-ID:  <CAFDf7U%2BR8Ok03og6b-a62dSQiUY=_endWmnLo5rMQ9H0V77uyA@mail.gmail.com>
In-Reply-To: <69d97c90.248e6.43c2f98b@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hello,

Using MASTER_SITES on auto-generated GH tarballs instead of USE_GITHUB?

- spaces replaced with tabs
- USE_GITHUB since there is no fixed release tarball
- Use DISTVERSION instead of PORTVERSION
- Define license file
- Add missing depends from stage-qa

Could you give a try with:

diff --git a/games/xonix/Makefile b/games/xonix/Makefile
index 26dc5c0ca5b7..553fa10d7768 100644
--- a/games/xonix/Makefile
+++ b/games/xonix/Makefile
@@ -1,18 +1,18 @@
-PORTNAME=      xonix
-PORTVERSION=   1.5
-CATEGORIES=    games
-MASTER_SITES=  https://github.com/dl8dtl/xonix/archive/refs/tags/
-DISTNAME=      v${PORTVERSION}
-DIST_SUBDIR=   xonix
+PORTNAME=      xonix
+DISTVERSIONPREFIX=     v
+DISTVERSION=   1.5
+CATEGORIES=    games

-MAINTAINER=    joerg@FreeBSD.org
-COMMENT=       Try to win land without colliding with "flyers" and "eaters"
-WWW=           https://github.com/dl8dtl/xonix
+MAINTAINER=    joerg@FreeBSD.org
+COMMENT=       Try to win land without colliding with "flyers" and "eaters"
+WWW=           https://github.com/dl8dtl/xonix

-LICENSE=       BSD2CLAUSE
+LICENSE=       BSD2CLAUSE
+LICENSE_FILE=  ${WRKSRC}/LICENSE.txt

-USES=          imake
-WRKSRC=        ${WRKDIR}/xonix-${PORTVERSION}
-USE_XORG=      xaw
+USES=          imake xorg
+USE_XORG=      ice sm x11 xaw xext xmu xpm xt
+USE_GITHUB=    yes
+GH_ACCOUNT=    dl8dtl

 .include <bsd.port.mk>
diff --git a/games/xonix/distinfo b/games/xonix/distinfo
index 3ba1b4dadc69..80748106afe6 100644
--- a/games/xonix/distinfo
+++ b/games/xonix/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1775860432
-SHA256 (xonix/v1.5.tar.gz) =
206621925b58ade832f9defd7b61e38dec3d5de23ca8ba826ea78eaf53968ba7
-SIZE (xonix/v1.5.tar.gz) = 46279
+TIMESTAMP = 1775862506
+SHA256 (dl8dtl-xonix-v1.5_GH0.tar.gz) =
206621925b58ade832f9defd7b61e38dec3d5de23ca8ba826ea78eaf53968ba7
+SIZE (dl8dtl-xonix-v1.5_GH0.tar.gz) = 46279

Cheers!

Joerg Wunsch <joerg@freebsd.org> escreveu (sexta, 10/04/2026 à(s) 23:41):

> The branch main has been updated by joerg:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=b63a7f46f119a54e8ce8bedff90ced9527b956e4
>
> commit b63a7f46f119a54e8ce8bedff90ced9527b956e4
> Author:     Joerg Wunsch <joerg@FreeBSD.org>
> AuthorDate: 2026-04-10 22:38:48 +0000
> Commit:     Joerg Wunsch <joerg@FreeBSD.org>
> CommitDate: 2026-04-10 22:40:55 +0000
>
>     games/xonix: Resurrect
>
>     This game has been deleted about a decade ago since the distfile
>     disappeared.  Haolin Xue convinced me to resurrect it, and give
>     it a home at Github.  They submitted a bunch of modernization
>     and security patches, so this is a new version now as well.
> ---
>  games/Makefile        |  1 +
>  games/xonix/Makefile  | 17 +++++++++++++++++
>  games/xonix/distinfo  |  3 +++
>  games/xonix/pkg-descr | 20 ++++++++++++++++++++
>  games/xonix/pkg-plist |  8 ++++++++
>  5 files changed, 49 insertions(+)
>
> diff --git a/games/Makefile b/games/Makefile
> index 9f1f29d7774c..5855c139832c 100644
> --- a/games/Makefile
> +++ b/games/Makefile
> @@ -1119,6 +1119,7 @@
>      SUBDIR += xnethack
>      SUBDIR += xoids
>      SUBDIR += xoj
> +    SUBDIR += xonix
>      SUBDIR += xonotic
>      SUBDIR += xorgramana
>      SUBDIR += xosmulti
> diff --git a/games/xonix/Makefile b/games/xonix/Makefile
> new file mode 100644
> index 000000000000..00eff9d6f47d
> --- /dev/null
> +++ b/games/xonix/Makefile
> @@ -0,0 +1,17 @@
> +PORTNAME=      xonix
> +PORTVERSION=   1.5
> +CATEGORIES=    games
> +MASTER_SITES=  https://github.com/dl8dtl/xonix/archive/refs/tags/
> +DISTNAME=      v${PORTVERSION}
> +DIST_SUBDIR=   xonix
> +
> +MAINTAINER=    joerg@FreeBSD.org
> +COMMENT=       Try to win land without colliding with "flyers" and
> "eaters"
> +WWW=           https://github.com/dl8dtl/xonix
> +
> +LICENSE=       BSD2CLAUSE
> +
> +USES=          imake
> +USE_XORG=      xaw
> +
> +.include <bsd.port.mk>
> diff --git a/games/xonix/distinfo b/games/xonix/distinfo
> new file mode 100644
> index 000000000000..3ba1b4dadc69
> --- /dev/null
> +++ b/games/xonix/distinfo
> @@ -0,0 +1,3 @@
> +TIMESTAMP = 1775860432
> +SHA256 (xonix/v1.5.tar.gz) =
> 206621925b58ade832f9defd7b61e38dec3d5de23ca8ba826ea78eaf53968ba7
> +SIZE (xonix/v1.5.tar.gz) = 46279
> diff --git a/games/xonix/pkg-descr b/games/xonix/pkg-descr
> new file mode 100644
> index 000000000000..5a48bd48256d
> --- /dev/null
> +++ b/games/xonix/pkg-descr
> @@ -0,0 +1,20 @@
> +Xonix is an old action game.
> +
> +The purpose of the game is to move the player across the empty region
> +(whereby it leaves his way in a brown color to show where it came
> +along), and finally cut off a piece of unfilled region by moving him
> +back to some filled region.  If the player itself or the (unfilled
> +yet) way will be hit by a flyer, a life will be lost again.  Once the
> +player's way reached another part of filled region, the way and all
> +adjacent unfilled regions where there is no flyer in will be filled in
> +turn.  One level has com- pleted as soon as 75 % of the originally
> +unfilled area have been filled this way.
> +
> +Every level, there will be one flyer more.  Every second level, an
> +additional player will be granted.  Every fifth level, an additional
> +eater will be fired off.
> +
> +The original xonix game has been seen somewhere on an old PC/XT clone.
> +This is a reimplementation from scratch, done by Torsten Schoenitz
> +starting the project on a Macintosh.  The X11 support has been written
> +by Joerg Wunsch with the pleasant help by Alfredo Herrera Hernandez.
> diff --git a/games/xonix/pkg-plist b/games/xonix/pkg-plist
> new file mode 100644
> index 000000000000..9d4bc4863016
> --- /dev/null
> +++ b/games/xonix/pkg-plist
> @@ -0,0 +1,8 @@
> +@group games
> +@(,games,2755) bin/xonix
> +lib/X11/app-defaults/Xonix
> +share/man/man1/xonix.1.gz
> +@dir(,games,775) /var/games/xonix
> +@postexec touch /var/games/xonix/xonix.scores
> +@postexec chmod 0660 /var/games/xonix/xonix.scores
> +@postunexec rm -f /var/games/xonix/xonix.scores
>
>

-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

[-- Attachment #2 --]
<div dir="ltr"><div><div><div>Hello,<br><br></div>Using MASTER_SITES on auto-generated GH tarballs instead of USE_GITHUB?</div><div><br>- spaces replaced with tabs<br></div><div>- USE_GITHUB since there is no fixed release tarball </div><div>- Use DISTVERSION instead of PORTVERSION<br></div><div>- Define license file<br></div><div>- Add missing depends from stage-qa</div><div><br></div>Could you give a try with:<br><br>diff --git a/games/xonix/Makefile b/games/xonix/Makefile<br>index 26dc5c0ca5b7..553fa10d7768 100644<br>--- a/games/xonix/Makefile<br>+++ b/games/xonix/Makefile<br>@@ -1,18 +1,18 @@<br>-PORTNAME=      xonix<br>-PORTVERSION=   1.5<br>-CATEGORIES=    games<br>-MASTER_SITES=  <a href="https://github.com/dl8dtl/xonix/archive/refs/tags/">https://github.com/dl8dtl/xonix/archive/refs/tags/</a><br>-DISTNAME=      v${PORTVERSION}<br>-DIST_SUBDIR=   xonix<br>+PORTNAME=      xonix<br>+DISTVERSIONPREFIX=     v<br>+DISTVERSION=   1.5<br>+CATEGORIES=    games<br><br>-MAINTAINER=    joerg@FreeBSD.org<br>-COMMENT=       Try to win land without colliding with &quot;flyers&quot; and &quot;eaters&quot;<br>-WWW=           <a href="https://github.com/dl8dtl/xonix">https://github.com/dl8dtl/xonix</a><br>+MAINTAINER=    joerg@FreeBSD.org<br>+COMMENT=       Try to win land without colliding with &quot;flyers&quot; and &quot;eaters&quot;<br>+WWW=           <a href="https://github.com/dl8dtl/xonix">https://github.com/dl8dtl/xonix</a><br><br>-LICENSE=       BSD2CLAUSE<br>+LICENSE=       BSD2CLAUSE<br>+LICENSE_FILE=  ${WRKSRC}/LICENSE.txt<br><br>-USES=          imake<br>-WRKSRC=        ${WRKDIR}/xonix-${PORTVERSION}<br>-USE_XORG=      xaw<br>+USES=          imake xorg<br>+USE_XORG=      ice sm x11 xaw xext xmu xpm xt<br>+USE_GITHUB=    yes<br>+GH_ACCOUNT=    dl8dtl<br><br> .include &lt;<a href="http://bsd.port.mk">bsd.port.mk</a>&gt;<br>diff --git a/games/xonix/distinfo b/games/xonix/distinfo<br>index 3ba1b4dadc69..80748106afe6 100644<br>--- a/games/xonix/distinfo<br>+++ b/games/xonix/distinfo<br>@@ -1,3 +1,3 @@<br>-TIMESTAMP = 1775860432<br>-SHA256 (xonix/v1.5.tar.gz) = 206621925b58ade832f9defd7b61e38dec3d5de23ca8ba826ea78eaf53968ba7<br>-SIZE (xonix/v1.5.tar.gz) = 46279<br>+TIMESTAMP = 1775862506<br>+SHA256 (dl8dtl-xonix-v1.5_GH0.tar.gz) = 206621925b58ade832f9defd7b61e38dec3d5de23ca8ba826ea78eaf53968ba7<br>+SIZE (dl8dtl-xonix-v1.5_GH0.tar.gz) = 46279<br><br></div>Cheers!</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Joerg Wunsch &lt;<a href="mailto:joerg@freebsd.org">joerg@freebsd.org</a>&gt; escreveu (sexta, 10/04/2026 à(s) 23:41):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The branch main has been updated by joerg:<br>
<br>
URL: <a href="https://cgit.FreeBSD.org/ports/commit/?id=b63a7f46f119a54e8ce8bedff90ced9527b956e4" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/ports/commit/?id=b63a7f46f119a54e8ce8bedff90ced9527b956e4</a><br>;
<br>
commit b63a7f46f119a54e8ce8bedff90ced9527b956e4<br>
Author:     Joerg Wunsch &lt;joerg@FreeBSD.org&gt;<br>
AuthorDate: 2026-04-10 22:38:48 +0000<br>
Commit:     Joerg Wunsch &lt;joerg@FreeBSD.org&gt;<br>
CommitDate: 2026-04-10 22:40:55 +0000<br>
<br>
    games/xonix: Resurrect<br>
<br>
    This game has been deleted about a decade ago since the distfile<br>
    disappeared.  Haolin Xue convinced me to resurrect it, and give<br>
    it a home at Github.  They submitted a bunch of modernization<br>
    and security patches, so this is a new version now as well.<br>
---<br>
 games/Makefile        |  1 +<br>
 games/xonix/Makefile  | 17 +++++++++++++++++<br>
 games/xonix/distinfo  |  3 +++<br>
 games/xonix/pkg-descr | 20 ++++++++++++++++++++<br>
 games/xonix/pkg-plist |  8 ++++++++<br>
 5 files changed, 49 insertions(+)<br>
<br>
diff --git a/games/Makefile b/games/Makefile<br>
index 9f1f29d7774c..5855c139832c 100644<br>
--- a/games/Makefile<br>
+++ b/games/Makefile<br>
@@ -1119,6 +1119,7 @@<br>
     SUBDIR += xnethack<br>
     SUBDIR += xoids<br>
     SUBDIR += xoj<br>
+    SUBDIR += xonix<br>
     SUBDIR += xonotic<br>
     SUBDIR += xorgramana<br>
     SUBDIR += xosmulti<br>
diff --git a/games/xonix/Makefile b/games/xonix/Makefile<br>
new file mode 100644<br>
index 000000000000..00eff9d6f47d<br>
--- /dev/null<br>
+++ b/games/xonix/Makefile<br>
@@ -0,0 +1,17 @@<br>
+PORTNAME=      xonix<br>
+PORTVERSION=   1.5<br>
+CATEGORIES=    games<br>
+MASTER_SITES=  <a href="https://github.com/dl8dtl/xonix/archive/refs/tags/" rel="noreferrer" target="_blank">https://github.com/dl8dtl/xonix/archive/refs/tags/</a><br>;
+DISTNAME=      v${PORTVERSION}<br>
+DIST_SUBDIR=   xonix<br>
+<br>
+MAINTAINER=    joerg@FreeBSD.org<br>
+COMMENT=       Try to win land without colliding with &quot;flyers&quot; and &quot;eaters&quot;<br>
+WWW=           <a href="https://github.com/dl8dtl/xonix" rel="noreferrer" target="_blank">https://github.com/dl8dtl/xonix</a><br>;
+<br>
+LICENSE=       BSD2CLAUSE<br>
+<br>
+USES=          imake<br>
+USE_XORG=      xaw<br>
+<br>
+.include &lt;<a href="http://bsd.port.mk" rel="noreferrer" target="_blank">bsd.port.mk</a>&gt;<br>
diff --git a/games/xonix/distinfo b/games/xonix/distinfo<br>
new file mode 100644<br>
index 000000000000..3ba1b4dadc69<br>
--- /dev/null<br>
+++ b/games/xonix/distinfo<br>
@@ -0,0 +1,3 @@<br>
+TIMESTAMP = 1775860432<br>
+SHA256 (xonix/v1.5.tar.gz) = 206621925b58ade832f9defd7b61e38dec3d5de23ca8ba826ea78eaf53968ba7<br>
+SIZE (xonix/v1.5.tar.gz) = 46279<br>
diff --git a/games/xonix/pkg-descr b/games/xonix/pkg-descr<br>
new file mode 100644<br>
index 000000000000..5a48bd48256d<br>
--- /dev/null<br>
+++ b/games/xonix/pkg-descr<br>
@@ -0,0 +1,20 @@<br>
+Xonix is an old action game.<br>
+<br>
+The purpose of the game is to move the player across the empty region<br>
+(whereby it leaves his way in a brown color to show where it came<br>
+along), and finally cut off a piece of unfilled region by moving him<br>
+back to some filled region.  If the player itself or the (unfilled<br>
+yet) way will be hit by a flyer, a life will be lost again.  Once the<br>
+player&#39;s way reached another part of filled region, the way and all<br>
+adjacent unfilled regions where there is no flyer in will be filled in<br>
+turn.  One level has com- pleted as soon as 75 % of the originally<br>
+unfilled area have been filled this way.<br>
+<br>
+Every level, there will be one flyer more.  Every second level, an<br>
+additional player will be granted.  Every fifth level, an additional<br>
+eater will be fired off.<br>
+<br>
+The original xonix game has been seen somewhere on an old PC/XT clone.<br>
+This is a reimplementation from scratch, done by Torsten Schoenitz<br>
+starting the project on a Macintosh.  The X11 support has been written<br>
+by Joerg Wunsch with the pleasant help by Alfredo Herrera Hernandez.<br>
diff --git a/games/xonix/pkg-plist b/games/xonix/pkg-plist<br>
new file mode 100644<br>
index 000000000000..9d4bc4863016<br>
--- /dev/null<br>
+++ b/games/xonix/pkg-plist<br>
@@ -0,0 +1,8 @@<br>
+@group games<br>
+@(,games,2755) bin/xonix<br>
+lib/X11/app-defaults/Xonix<br>
+share/man/man1/xonix.1.gz<br>
+@dir(,games,775) /var/games/xonix<br>
+@postexec touch /var/games/xonix/xonix.scores<br>
+@postexec chmod 0660 /var/games/xonix/xonix.scores<br>
+@postunexec rm -f /var/games/xonix/xonix.scores<br>
<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>;
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BR8Ok03og6b-a62dSQiUY=_endWmnLo5rMQ9H0V77uyA>