aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-05-10 09:50:31 +0000
committerRene Ladan <rene@FreeBSD.org>2026-05-10 09:50:31 +0000
commit8f792d9ab0c9286bc073d93945568517ecae73f1 (patch)
treeea96aca547f34c81eaec7467221263f0f1dc549c
parentef72d45da149cc197d0a371611eab5806c0e5144 (diff)
games/linwarrior: Remove expired port
2026-05-10 games/linwarrior: Abandoned and obsolete, last release in 2010, not really playable
-rw-r--r--MOVED1
-rw-r--r--games/Makefile1
-rw-r--r--games/linwarrior/Makefile48
-rw-r--r--games/linwarrior/distinfo2
-rw-r--r--games/linwarrior/files/patch-Makefile58
-rw-r--r--games/linwarrior/files/patch-source_cController.cpp22
-rw-r--r--games/linwarrior/pkg-descr6
7 files changed, 1 insertions, 137 deletions
diff --git a/MOVED b/MOVED
index 2d9163f905fe..c7a9ef47ce0d 100644
--- a/MOVED
+++ b/MOVED
@@ -5292,3 +5292,4 @@ devel/py-rednose||2026-05-08|Has expired: Depends on unmaintained nosetests
devel/py-termstyle||2026-05-09|Has expired: Upstream project appears to be abandoned
www/p5-Catalyst-Controller-BindLex||2026-05-09|Has expired: Upstream unmaintained and declared to be dangerous to use
editors/abiword-docs||2026-05-10|Has expired: abisource.com no longer exists
+games/linwarrior||2026-05-10|Has expired: Abandoned and obsolete, last release in 2010, not really playable
diff --git a/games/Makefile b/games/Makefile
index 54ba2710bc02..59b57f24fc6d 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -586,7 +586,6 @@
SUBDIR += linux-unrealgold
SUBDIR += linux-ut
SUBDIR += linux-virtual-jay-peak
- SUBDIR += linwarrior
SUBDIR += lizzie
SUBDIR += lm-solve
SUBDIR += lmarbles
diff --git a/games/linwarrior/Makefile b/games/linwarrior/Makefile
deleted file mode 100644
index 7366aeef4c16..000000000000
--- a/games/linwarrior/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-PORTNAME= linwarrior
-PORTVERSION= 20100320
-PORTREVISION= 6
-CATEGORIES= games
-MASTER_SITES= http://www.hackcraft.de/games/linwarrior_3d/downloads/ \
- https://mirror.amdmi3.ru/distfiles/
-DISTNAME= ${PORTNAME}_${PORTVERSION}
-
-MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= Navigate a mech through a 3D world and fire at enemies
-WWW= https://www.hackcraft.de/games/linwarrior_3d/index.htm
-
-DEPRECATED= Abandoned and obsolete, last release in 2010, not really playable
-EXPIRATION_DATE=2026-05-10
-
-USES= compiler:c++11-lang gl gmake openal:al,alut sdl
-USE_GL= gl glu
-USE_SDL= sdl
-USE_CXXSTD= gnu++98
-
-LDFLAGS_i386= -Wl,-znotext
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-PLIST_FILES= bin/${PORTNAME}
-PORTDATA= *
-
-DESKTOP_ENTRIES="LinWarrior 3D" \
- "Mech Simulation Game" \
- "" \
- "linwarrior" \
- "Game;ActionGame;Simulation;" \
- false
-
-post-extract:
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} a+rx {} \;
- @${FIND} ${WRKSRC} -type f -exec ${CHMOD} a+r {} \;
-
-post-patch:
- @${REINPLACE_CMD} -e '/hash_set/ d' ${WRKSRC}/source/cAlert.h
- @${FIND} ${WRKSRC}/source -name '*.cpp' -print0 | ${XARGS} -0 \
- ${REINPLACE_CMD} -e 's|data/|${DATADIR}/|'
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dist/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
-
-.include <bsd.port.mk>
diff --git a/games/linwarrior/distinfo b/games/linwarrior/distinfo
deleted file mode 100644
index d7de6169fa4d..000000000000
--- a/games/linwarrior/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (linwarrior_20100320.tar.gz) = dc80a8ff355447f351f7af79c7e6a82839653738687d49345a591065cae9eee0
-SIZE (linwarrior_20100320.tar.gz) = 4558140
diff --git a/games/linwarrior/files/patch-Makefile b/games/linwarrior/files/patch-Makefile
deleted file mode 100644
index 6839aadab59c..000000000000
--- a/games/linwarrior/files/patch-Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
---- Makefile.orig 2010-02-05 19:50:30 UTC
-+++ Makefile
-@@ -2,7 +2,7 @@
- # Makefile with auto-dependency generation
-
- # Add Include directories here.
--INCLUDES = -I .
-+INCLUDES = -I . `${SDL_CONFIG} --cflags`
-
- # Automatic searching for source files.
- # Objects to compile are all sources (cpp) and put the .o below build-dir.
-@@ -20,40 +20,38 @@ ifneq (,$(findstring Win,$(OS)))
- LIMITER=$(dir \file)
- CFLAGS+= -static-libgcc
- else
-- LIBRARIES= -lGL -lGLU -lSDL -lopenal -lalut
-+ LIBRARIES= ${LDFLAGS} -lGL -lGLU `${SDL_CONFIG} --libs` -lopenal -lalut
- TARGET=dist/linwarrior
- MKDIR=mkdir
- RM=rm -f
- RMREC=rm -f -r
- CP=cp
-- CPP=c++
-+ CPP=${CXX}
- LIMITER=/
- endif
-
- # Creation of dependency information when compiling.
--CFLAGS += -Wp,-M,-MP,-MT,$@,-MF,dep/$(subst /,-,$@).d
-
- # Print warnings when compiling.
--CFLAGS += -Wall
-+CXXFLAGS += -Wall
-
- # Use the given includepathes.
--CFLAGS += $(INCLUDES)
-+CXXFLAGS += $(INCLUDES)
-
- # Optimizations.
--CFLAGS += -O1 -funroll-loops
-
- # Default makefile Target.
- all: $(TARGET)
-
- # For executable we need all sources compiled to objects.
- $(TARGET): $(OBJECTS)
-- $(CPP) -o $(TARGET) $(OBJECTS) $(LIBRARIES)
-+ $(CXX) -o $(TARGET) $(OBJECTS) ${LDFLAGS} $(LIBRARIES)
-
- # Compile all Source files, creates output directories as necessary.
- build/%.o: %.cpp
- $(shell $(MKDIR) build 2>/dev/null)
- $(shell $(MKDIR) $(dir $@) 2>/dev/null)
-- $(CPP) $(CFLAGS) -c $< -o $@
-+ $(CXX) $(CXXFLAGS) -c $< -o $@
-
- # IDE may call makefile with target "build" instead of "all".
- build: all
diff --git a/games/linwarrior/files/patch-source_cController.cpp b/games/linwarrior/files/patch-source_cController.cpp
deleted file mode 100644
index 577f3bd325a7..000000000000
--- a/games/linwarrior/files/patch-source_cController.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
---- source/cController.cpp.orig 2018-06-22 20:39:57 UTC
-+++ source/cController.cpp
-@@ -182,16 +182,16 @@ void cController::attackEnemy() {
-
- cObject* target = cWorld::instance->mIndex[entity];
- if (mDevice->inTargetRange() < 0.01) {
-- mDevice->do_aimFor(NULL);
-+ mDevice->do_aimFor(0);
- pop();
- return;
- }
- if (target == NULL) { // Target disappeared
-- mDevice->do_aimFor(NULL);
-+ mDevice->do_aimFor(0);
- pop();
- return;
- } else if (target->hasRole(DEAD)) {
-- mDevice->do_aimFor(NULL);
-+ mDevice->do_aimFor(0);
- pop();
- return;
- }
diff --git a/games/linwarrior/pkg-descr b/games/linwarrior/pkg-descr
deleted file mode 100644
index 391bb02497b8..000000000000
--- a/games/linwarrior/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-LinWarrior 3D targets to be a somewhat classical open source
-Mech-Sim/Game. LinWarrior 3D is not exclusively bound to any specific
-classic title. Feel-of-control should *not* be FPS-like but may
-still be arcade-like and surrealistic. Classical means that the
-primary target of development is single player campaigns and not
-realistic graphics or physics.