Date: Sat, 11 Apr 2026 09:13:25 +0200 From: Joerg Wunsch <joerg@freebsd.org> To: Nuno Teixeira <eduardo@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: <adn0lVg51NA7TzQo@uriah.heep.sax.de> In-Reply-To: <CAFDf7U%2BR8Ok03og6b-a62dSQiUY=_endWmnLo5rMQ9H0V77uyA@mail.gmail.com> References: <69d97c90.248e6.43c2f98b@gitrepo.freebsd.org> <CAFDf7U%2BR8Ok03og6b-a62dSQiUY=_endWmnLo5rMQ9H0V77uyA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Thanks for doing my homework, Nuno. ;-) I committed it that way. As Nuno Teixeira wrote: > 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 -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?adn0lVg51NA7TzQo>
