Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2026 22:41:20 +0000
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b63a7f46f119 - main - games/xonix: Resurrect
Message-ID:  <69d97c90.248e6.43c2f98b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d97c90.248e6.43c2f98b>