head 1.10; access; symbols pkgsrc-2026Q2:1.9.0.2 pkgsrc-2026Q2-base:1.9 pkgsrc-2026Q1:1.8.0.2 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.6.0.2 pkgsrc-2025Q4-base:1.6; locks; strict; comment @# @; 1.10 date 2026.07.13.04.35.59; author wiz; state Exp; branches; next 1.9; commitid KzpMRouvb2DLQrNG; 1.9 date 2026.05.14.16.41.05; author ryoon; state Exp; branches; next 1.8; commitid tKipFjQKzke3NNFG; 1.8 date 2026.02.06.10.04.53; author wiz; state Exp; branches; next 1.7; commitid MwQEYCXeWSFvIitG; 1.7 date 2026.01.07.08.47.10; author wiz; state Exp; branches; next 1.6; commitid 1wQ3ICD8eebefrpG; 1.6 date 2025.10.23.20.37.16; author wiz; state Exp; branches; next 1.5; commitid 1V2hBZn9ypXaCJfG; 1.5 date 2025.10.05.19.25.58; author js; state Exp; branches; next 1.4; commitid U70EDQkwOmfbOpdG; 1.4 date 2025.10.02.20.04.30; author wiz; state Exp; branches; next 1.3; commitid SJEiQKmAWCDD72dG; 1.3 date 2025.10.02.11.53.15; author nia; state Exp; branches; next 1.2; commitid dBK1gZQsGCEfpZcG; 1.2 date 2025.10.01.19.39.32; author wiz; state Exp; branches; next 1.1; commitid ehkwPmuqaqE81UcG; 1.1 date 2025.09.29.13.31.28; author nia; state Exp; branches; next ; commitid RbVj7cCsiuPc2CcG; desc @@ 1.10 log @*: recursive bump for libmpg123 dependency in lame @ text @# $NetBSD: Makefile,v 1.9 2026/05/14 16:41:05 ryoon Exp $ WARSOW_VER= 2.1.2 WARSOW_SDK= warsow_21_sdk DISTFILES= ${WARSOW_SDK}.tar.gz DISTFILES+= warsow-${WARSOW_VER}.tar.gz PKGNAME= warsow-${WARSOW_VER} PKGREVISION= 6 CATEGORIES= games MASTER_SITES= http://warsow.net/ MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.warsow.net/ COMMENT= Fast-paced first-person shooter LICENSE= cc-by-sa-v4.0 AND gnu-gpl-v2 WRKSRC= ${WRKDIR}/${WARSOW_SDK} CONFIGURE_DIR= source/source USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config gmake pax # see source/source/game/CMakeLists.txt USE_CXX_FEATURES+= c++11 CMAKE_GENERATORS_INCOMPATIBLE= ninja CMAKE_CONFIGURE_ARGS+= -DQFUSION_GAME=Warsow # for cmake 4 compatibility, until upstream fixes it CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 CFLAGS.NetBSD+= -D_NETBSD_SOURCE=1 .include "../../mk/bsd.prefs.mk" WARSOW_ARCH= ${MACHINE_ARCH} PLIST_SUBST+= WARSOW_ARCH=${WARSOW_ARCH} CHECK_PORTABILITY_SKIP+= source/libsrcs/* CHECK_PORTABILITY_SKIP+= gfx/* CHECK_PORTABILITY_SKIP+= maps/* CHECK_PORTABILITY_SKIP+= models/* CHECK_PORTABILITY_SKIP+= textures/* INSTALLATION_DIRS+= bin lib/warsow/basewsw INSTALLATION_DIRS+= share/applications INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps INSTALLATION_DIRS+= share/icons/hicolor/72x72/apps INSTALLATION_DIRS+= share/icons/hicolor/96x96/apps INSTALLATION_DIRS+= share/icons/hicolor/192x192/apps WARSOW_ICON_PATH= ${WRKSRC}/source/platforms/android/projects/qfusion/res pre-configure: ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ -e 's,@@WARSOW_ARCH@@,${WARSOW_ARCH},g' \ < ${FILESDIR}/warsow.sh.in > \ ${WRKDIR}/warsow do-install: cd ${WRKSRC}/source/source/build && \ ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/lib/warsow cd ${WRKDIR}/warsow-${PKGVERSION_NOREV}/basewsw && \ ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/lib/warsow/basewsw ${INSTALL_SCRIPT} ${WRKDIR}/warsow \ ${DESTDIR}${PREFIX}/bin/warsow ${INSTALL_DATA} ${WARSOW_ICON_PATH}/mipmap-mdpi/ic_launcher.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/warsow.png ${INSTALL_DATA} ${WARSOW_ICON_PATH}/mipmap-hdpi/ic_launcher.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/72x72/apps/warsow.png ${INSTALL_DATA} ${WARSOW_ICON_PATH}/mipmap-xhdpi/ic_launcher.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/96x96/apps/warsow.png ${INSTALL_DATA} ${WARSOW_ICON_PATH}/mipmap-xxxhdpi/ic_launcher.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/192x192/apps/warsow.png ${INSTALL_DATA} ${FILESDIR}/warsow.desktop \ ${DESTDIR}${PREFIX}/share/applications/warsow.desktop .include "../../devel/cmake/build.mk" .include "../../audio/openal-soft/buildlink3.mk" .include "../../devel/SDL2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../multimedia/libogg/buildlink3.mk" .include "../../multimedia/libtheora/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.9 log @*: Recursive revbump from security/nettle-4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2026/02/06 10:04:53 wiz Exp $ d8 1 a8 1 PKGREVISION= 5 @ 1.8 log @*: recursive bump for nettle 4.0 shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2026/01/07 08:47:10 wiz Exp $ d8 1 a8 1 PKGREVISION= 4 @ 1.7 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/10/23 20:37:16 wiz Exp $ d8 1 a8 1 PKGREVISION= 3 @ 1.6 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/10/05 19:25:58 js Exp $ d8 1 a8 1 PKGREVISION= 2 @ 1.5 log @*: rev bump for curl @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/10/02 20:04:30 wiz Exp $ d8 1 a8 1 PKGREVISION= 1 @ 1.4 log @warsow: switch back to devel/cmake Didn't build with cmake39. Forbid the ninja generator for this package; it works with make. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/10/02 11:53:15 nia Exp $ d8 1 @ 1.3 log @warsow: Build with cmake39. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2025/10/01 19:39:32 wiz Exp $ d25 2 d78 1 a78 1 .include "../../devel/cmake39/build.mk" @ 1.2 log @warsow: fix for cmake 4 Still doesn't build for me: ===> Building for warsow-2.1.2 ninja: error: 'work/warsow_21_sdk/source/libsrcs/angelscript/sdk/angelscript/lib/libangelscript.a', needed by 'work/warsow_21_sdk/source/source/build/libs/libangelwrap_x86_64.so', missing and no known rule to make it *** Error code 1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/09/29 13:31:28 nia Exp $ d76 1 a76 1 .include "../../devel/cmake/build.mk" @ 1.1 log @warsow: Initial import of warsow. This is unrelated to the warsow package that charlotte worked on in pkgsrc-wip. I did this one from scratch and decided to use the internal copy of angelscript, since it seems to have diverged from the latest version in incompatible ways. dreckly ci confirms this builds on NetBSD and Linux. In theory, there's old code here to support FreeBSD, but it's quite obviously bitrotted over the years, and no longer works. Completely free fast-paced first-person shooter. Like a true cyberathlete you jump, dash, dodge, and walljump your way through the game. Grab power-ups before your enemy does, plant a bomb before anyone sees you, and steal the enemy's flag before they know what is going on! Our goal is to offer a fast and fun competitive first-person shooter without hard graphical violence - Warsow has no blood or guts flying around. Red circles instead of blood indicate hits and colored triangles replace guts as gib effects. @ text @d1 1 a1 1 # $NetBSD$ d26 2 @