head	1.56;
access;
symbols
	pkgsrc-2026Q2:1.55.0.2
	pkgsrc-2026Q2-base:1.55
	pkgsrc-2026Q1:1.51.0.2
	pkgsrc-2026Q1-base:1.51
	pkgsrc-2025Q4:1.48.0.2
	pkgsrc-2025Q4-base:1.48
	pkgsrc-2025Q3:1.43.0.2
	pkgsrc-2025Q3-base:1.43
	pkgsrc-2025Q2:1.41.0.2
	pkgsrc-2025Q2-base:1.41
	pkgsrc-2025Q1:1.38.0.2
	pkgsrc-2025Q1-base:1.38
	pkgsrc-2024Q4:1.35.0.2
	pkgsrc-2024Q4-base:1.35
	pkgsrc-2024Q3:1.28.0.4
	pkgsrc-2024Q3-base:1.28
	pkgsrc-2024Q2:1.28.0.2
	pkgsrc-2024Q2-base:1.28
	pkgsrc-2024Q1:1.24.0.2
	pkgsrc-2024Q1-base:1.24
	pkgsrc-2023Q4:1.21.0.2
	pkgsrc-2023Q4-base:1.21
	pkgsrc-2023Q3:1.15.0.2
	pkgsrc-2023Q3-base:1.15
	pkgsrc-2023Q2:1.13.0.2
	pkgsrc-2023Q2-base:1.13;
locks; strict;
comment	@# @;


1.56
date	2026.06.23.09.36.56;	author wiz;	state Exp;
branches;
next	1.55;
commitid	BTFhsfVEhYrkaUKG;

1.55
date	2026.06.20.13.02.47;	author wiz;	state Exp;
branches;
next	1.54;
commitid	EPgTa7Wski4OoxKG;

1.54
date	2026.06.11.07.16.58;	author wiz;	state Exp;
branches;
next	1.53;
commitid	bVZL3OdakDMSLlJG;

1.53
date	2026.05.15.09.58.49;	author adam;	state Exp;
branches;
next	1.52;
commitid	AbaMQjZsFUtxxTFG;

1.52
date	2026.05.14.16.40.54;	author ryoon;	state Exp;
branches;
next	1.51;
commitid	tKipFjQKzke3NNFG;

1.51
date	2026.02.06.10.04.43;	author wiz;	state Exp;
branches;
next	1.50;
commitid	MwQEYCXeWSFvIitG;

1.50
date	2026.01.27.08.39.27;	author wiz;	state Exp;
branches;
next	1.49;
commitid	f4MYtJVcsY7dz0sG;

1.49
date	2026.01.07.08.46.57;	author wiz;	state Exp;
branches;
next	1.48;
commitid	1wQ3ICD8eebefrpG;

1.48
date	2025.10.23.20.36.57;	author wiz;	state Exp;
branches;
next	1.47;
commitid	1V2hBZn9ypXaCJfG;

1.47
date	2025.10.05.19.25.54;	author js;	state Exp;
branches;
next	1.46;
commitid	U70EDQkwOmfbOpdG;

1.46
date	2025.09.27.09.57.17;	author wiz;	state Exp;
branches;
next	1.45;
commitid	GSXfRJoW2938VkcG;

1.45
date	2025.09.21.18.15.05;	author wiz;	state Exp;
branches;
next	1.44;
commitid	tn5f7O3DThG7SBbG;

1.44
date	2025.09.21.15.11.36;	author wiz;	state Exp;
branches;
next	1.43;
commitid	nPOz5pyNJXIbRAbG;

1.43
date	2025.08.30.22.45.03;	author wiz;	state Exp;
branches;
next	1.42;
commitid	2izPxU30rhec4O8G;

1.42
date	2025.08.10.10.38.52;	author wiz;	state Exp;
branches;
next	1.41;
commitid	xiob7RH0pFDiHa6G;

1.41
date	2025.04.24.14.13.53;	author wiz;	state Exp;
branches;
next	1.40;
commitid	A3VBjL8Zdd4LljSF;

1.40
date	2025.04.19.07.57.47;	author wiz;	state Exp;
branches;
next	1.39;
commitid	8J0gu7BGAw8XqDRF;

1.39
date	2025.04.17.21.50.43;	author wiz;	state Exp;
branches;
next	1.38;
commitid	xcIXAVA292fk6sRF;

1.38
date	2025.02.12.06.44.48;	author ryoon;	state Exp;
branches;
next	1.37;
commitid	wrOiT0jBBwBs99JF;

1.37
date	2024.12.29.15.09.47;	author adam;	state Exp;
branches;
next	1.36;
commitid	oeKjyQMgtu2FopDF;

1.36
date	2024.12.27.08.19.45;	author wiz;	state Exp;
branches;
next	1.35;
commitid	tLKuqVS8lkJCb7DF;

1.35
date	2024.11.17.07.15.54;	author wiz;	state Exp;
branches;
next	1.34;
commitid	xKvmQYB52TGx7YxF;

1.34
date	2024.11.14.22.19.47;	author wiz;	state Exp;
branches;
next	1.33;
commitid	JmuDYqwL4erbdFxF;

1.33
date	2024.11.01.12.52.31;	author wiz;	state Exp;
branches;
next	1.32;
commitid	QB4Wk02mZPuBuWvF;

1.32
date	2024.11.01.00.51.45;	author wiz;	state Exp;
branches;
next	1.31;
commitid	QT27BdVP362gvSvF;

1.31
date	2024.10.20.14.03.46;	author wiz;	state Exp;
branches;
next	1.30;
commitid	iXiXTiwhLpC9hpuF;

1.30
date	2024.10.19.11.55.05;	author wiz;	state Exp;
branches;
next	1.29;
commitid	U7Ps5dGfGVGnBguF;

1.29
date	2024.10.04.03.49.22;	author ryoon;	state Exp;
branches;
next	1.28;
commitid	W6qyL3zvAllroisF;

1.28
date	2024.05.29.16.32.31;	author adam;	state Exp;
branches;
next	1.27;
commitid	n8aFyEjEVZA0JUbF;

1.27
date	2024.05.16.06.14.52;	author wiz;	state Exp;
branches;
next	1.26;
commitid	kYKPUni8AkogJbaF;

1.26
date	2024.04.07.07.34.00;	author wiz;	state Exp;
branches;
next	1.25;
commitid	oMYDjdZchby5qb5F;

1.25
date	2024.04.06.08.05.22;	author wiz;	state Exp;
branches;
next	1.24;
commitid	xuM7fEJrv2TOC35F;

1.24
date	2024.01.30.14.21.51;	author ryoon;	state Exp;
branches;
next	1.23;
commitid	gARf2FgciecARtWE;

1.23
date	2024.01.21.01.53.04;	author nikita;	state Exp;
branches;
next	1.22;
commitid	tfbTiffvaIZQ0gVE;

1.22
date	2023.12.29.18.24.44;	author adam;	state Exp;
branches;
next	1.21;
commitid	CbzM4kTH4d8WeoSE;

1.21
date	2023.11.15.20.00.36;	author wiz;	state Exp;
branches;
next	1.20;
commitid	SUsjExXUjRIxbKME;

1.20
date	2023.11.14.14.01.50;	author wiz;	state Exp;
branches;
next	1.19;
commitid	BZ5vzwBRof1beAME;

1.19
date	2023.11.12.13.21.27;	author wiz;	state Exp;
branches;
next	1.18;
commitid	SjpNXQIV5XeZ3kME;

1.18
date	2023.11.08.13.19.10;	author wiz;	state Exp;
branches;
next	1.17;
commitid	PsuHTklAIsF4bOLE;

1.17
date	2023.10.24.22.09.07;	author wiz;	state Exp;
branches;
next	1.16;
commitid	MTsrqKm6aGrQAVJE;

1.16
date	2023.10.21.17.10.12;	author gdt;	state Exp;
branches;
next	1.15;
commitid	Sr0Nb6aaZLDw2wJE;

1.15
date	2023.08.14.05.24.25;	author wiz;	state Exp;
branches;
next	1.14;
commitid	LOSB79OLVxvXjIAE;

1.14
date	2023.07.18.18.13.42;	author nia;	state Exp;
branches;
next	1.13;
commitid	GzwynUjytkfWrjxE;

1.13
date	2023.06.06.12.41.24;	author riastradh;	state Exp;
branches;
next	1.12;
commitid	xhspr6Z8JLQOWSrE;

1.12
date	2023.06.06.08.02.08;	author wiz;	state Exp;
branches;
next	1.11;
commitid	XoDsX6VOzb8TpRrE;

1.11
date	2023.05.28.17.04.32;	author wiz;	state Exp;
branches;
next	1.10;
commitid	4lMsv3raFn7THKqE;

1.10
date	2023.05.16.21.20.49;	author wiz;	state Exp;
branches;
next	1.9;
commitid	yAgpHtQ2b3zIvepE;

1.9
date	2023.05.11.22.51.48;	author nikita;	state Exp;
branches;
next	1.8;
commitid	j0Mu8PF077RRaBoE;

1.8
date	2023.05.07.12.33.44;	author wiz;	state Exp;
branches;
next	1.7;
commitid	0GXlv8T3qSZLS1oE;

1.7
date	2023.05.06.19.09.17;	author ryoon;	state Exp;
branches;
next	1.6;
commitid	U0SnpK5fQpHc6WnE;

1.6
date	2023.05.05.14.55.18;	author nikita;	state Exp;
branches;
next	1.5;
commitid	16ZoIqGLo6dVIMnE;

1.5
date	2023.05.05.08.30.25;	author nikita;	state Exp;
branches;
next	1.4;
commitid	zYqPbhzIlHynBKnE;

1.4
date	2023.05.05.00.08.13;	author nikita;	state Exp;
branches;
next	1.3;
commitid	H9AjDBU0ChUDOHnE;

1.3
date	2023.05.04.17.29.33;	author nikita;	state Exp;
branches;
next	1.2;
commitid	PT23j0pDxBzZBFnE;

1.2
date	2023.05.04.15.26.02;	author nikita;	state Exp;
branches;
next	1.1;
commitid	2NQrZTttanNVVEnE;

1.1
date	2023.05.04.15.20.52;	author nikita;	state Exp;
branches;
next	;
commitid	srbOKN66j6MUSEnE;


desc
@@


1.56
log
@*: recursive bump for OpenJPH
@
text
@# $NetBSD: Makefile,v 1.55 2026/06/20 13:02:47 wiz Exp $

PKGREVISION= 46
.include "Makefile.common"

DISTNAME=	${DISTVERSION}-build
PKGNAME=	${DISTNAME:S/-unix-build//:S/-alpha/.alpha/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
COMMENT=	Historical real-time strategy game
LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1

WRKSRC=		${WRKDIR}/${DISTNAME:S/-unix-build//}
USE_LANGUAGES=	c c++

USE_TOOLS+=	cmake bash gmake pax perl pkg-config

USE_CXX_FEATURES+=	c++17

DEPENDS+=		0ad-data-${PKGVERSION_NOREV}{,nb*}:../../games/0ad-data
TOOL_DEPENDS+=		premake5-[0-9]*:../../devel/premake5
TOOL_DEPENDS+=		patchelf-[0-9]*:../../devel/patchelf

SUBST_CLASSES+=			sysincludedir
SUBST_MESSAGE.sysincludedir=	Fixing "/usr/local" path assumption
SUBST_STAGE.sysincludedir=	pre-configure
SUBST_FILES.sysincludedir=	build/premake/extern_libs5.lua
SUBST_FILES.sysincludedir+=	build/premake/premake5.lua
SUBST_SED.sysincludedir+=	-e "s,/usr/local/,${PREFIX}/,g"

SUBST_CLASSES+=			rpath
SUBST_MESSAGE.rpath=		Adjusting rpath
SUBST_STAGE.rpath=		pre-configure
SUBST_FILES.rpath+=		build/premake/premake5.lua
SUBST_SED.rpath+=		-e "s,@@@@PREFIXLIB@@@@,${PREFIX}/lib,g"

# thanks to Guix:
# 0ad only builds fine with a specific version of mozjs
# (version 78.6 for 0ad-0.0.25).
# Here we change the error in case of version mismatch to a warning,
# and add some minor compatibility fixes.
SUBST_CLASSES+=		mozjs
SUBST_MESSAGE.mozjs=	Fixing mozjs version error
SUBST_STAGE.mozjs=	pre-configure
SUBST_FILES.mozjs=	source/scriptinterface/ScriptTypes.h
SUBST_SED.mozjs+=	-e "s,\#error Your compiler is trying to use,\#warning Your compiler is trying to use,g"

SUBST_CLASSES+=		mozjs2
SUBST_MESSAGE.mozjs2=	Fixing mozjs version error
SUBST_STAGE.mozjs2=	pre-configure
SUBST_FILES.mozjs2+=	source/scriptinterface/ScriptContext.cpp
SUBST_SED.mozjs2+=	-e "s|JS::PrepareZoneForGC(|JS::PrepareZoneForGC(m_cx, |g"

DATADIR=		${PREFIX}/share/${PKGBASE}

INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	lib/${PKGBASE}
INSTALLATION_DIRS+=	${DATADIR}
INSTALLATION_DIRS+=	${DATADIR}/mods/public
INSTALLATION_DIRS+=	${DATADIR}/mods/mod
INSTALLATION_DIRS+=	${DATADIR}/config
INSTALLATION_DIRS+=	share/applications
INSTALLATION_DIRS+=	share/pixmaps

.if ${MACHINE_ARCH} == "i386"
CFLAGS+=	-msse
.endif

MAKE_FLAGS+=	config=release
MAKE_FLAGS+=	verbose=1
MAKE_FLAGS+=	-j ${_MAKE_JOBS_N:U1}
MAKE_ENV+=	JOBS=${_MAKE_JOBS_N:U1}
# TODO: We build mozjs78 without debug, global debug option will make 0ad fail
# due to the lack of debug in mozjs. Undefine NDEBUG in this case.
BUILD_DIRS=	build/workspaces/gcc

.include "options.mk"

# currently fails to build with precompiled headers on
# NetBSD with gcc.
# .if ${PKGSRC_COMPILER:M} == "distcc"
CONFIGURE_PCH?=		--without-pch
# .else
# CONFIGURE_PCH?=
# .endif

# nvtt, notes from gentoo:
# Build bundled NVTT
# nvtt is abandoned upstream and 0ad has forked it and added fixes.
# Use their copy. bug #768930
do-configure:
	${RUN} cd ${WRKSRC}/build/workspaces && ./clean-workspaces.sh
	${RUN} cd ${WRKSRC}/build/workspaces && ./update-workspaces.sh \
		--bindir=${PREFIX}/bin \
		--datadir=${DATADIR} \
		--libdir=${PREFIX}/lib/${PKGBASE} \
		--with-system-premake5 \
		--with-system-mozjs \
		${CONFIGURE_PCH} ${CONFIGURE_EDITOR} ${CONFIGURE_TESTS}

do-install:
	# TODO: currently ends up with ${PREFIX}/pkg/lib duplicate in the rpath
	${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/pyrogenesis ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/build/resources/0ad.sh ${DESTDIR}${PREFIX}/bin/0ad
.if !empty(PKG_OPTIONS:Meditor)
	${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/ActorEditor ${DESTDIR}${PREFIX}/bin
	# TODO: prevent this in the build-system.
	${PREFIX}/bin/patchelf --replace-needed \
		"../../../binaries/system/libAtlasUI.so" libAtlasUI.so \
		${DESTDIR}${PREFIX}/bin/ActorEditor
	cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} \
		libAtlasUI.so libAtlasObject.a ${DESTDIR}${PREFIX}/lib/${PKGBASE}
.endif
	cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} \
		libCollada.so libatlas.a \
		libengine.a libgladwrapper.a libglooxwrapper.a libgraphics.a \
		libgui.a liblobby.a liblowlevel.a libmocks_real.a libmocks_test.a \
		libmongoose.a libnetwork.a librlinterface.a libscriptinterface.a \
		libsimulation2.a libtinygettext.a \
		${DESTDIR}${PREFIX}/lib/${PKGBASE}
	# TODO: second part of rpath is missing after build
.for f in libnvcore libnvimage libnvmath libnvtt
	cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} \
		${f}.so ${DESTDIR}${PREFIX}/lib/${PKGBASE}
	${PREFIX}/bin/patchelf \
		--force-rpath \
		--set-rpath ${PREFIX}/lib/${PKGBASE}:${PREFIX}/lib \
		${DESTDIR}${PREFIX}/lib/${PKGBASE}/${f}.so
.endfor
	${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.desktop ${DESTDIR}${PREFIX}/share/applications
	${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.png ${DESTDIR}${PREFIX}/share/pixmaps
	cd ${WRKSRC}/binaries/data && ${PAX} -rw l10n ${DESTDIR}${DATADIR}
.if !empty(PKG_OPTIONS:Mtests)
	cd ${WRKSRC}/binaries/data && ${PAX} -rw tests ${DESTDIR}${DATADIR}
.endif

.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../chat/gloox/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/libidn2/buildlink3.mk"
.include "../../devel/nspr/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../lang/mozjs78/buildlink3.mk"
.if !empty(PKG_OPTIONS:Mtests)
.include "../../lang/python/tool.mk"
.endif
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../net/enet/buildlink3.mk"
.include "../../net/miniupnpc/buildlink3.mk"
.include "../../textproc/fmtlib/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../security/libsodium/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.55
log
@*: recursive bump for OpenJPH 0.28

The upgrade only bumped the shlib minor but there is no symlink for the major
so this version is recorded.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2026/06/11 07:16:58 wiz Exp $
d3 1
a3 1
PKGREVISION= 45
@


1.54
log
@gtk3: bump PKGREVISION for wayland option default change

Recursive bump to hopefully fix bulk build fallout due to the
unversioned change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2026/05/15 09:58:49 adam Exp $
d3 1
a3 1
PKGREVISION= 44
@


1.53
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2026/05/14 16:40:54 ryoon Exp $
d3 1
a3 1
PKGREVISION= 43
@


1.52
log
@*: Recursive revbump from security/nettle-4.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2026/02/06 10:04:43 wiz Exp $
d3 1
a3 1
PKGREVISION= 42
@


1.51
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2026/01/27 08:39:27 wiz Exp $
d3 1
a3 1
PKGREVISION= 41
@


1.50
log
@*: recursive bump for removal of cairo's xcb option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2026/01/07 08:46:57 wiz Exp $
d3 1
a3 1
PKGREVISION= 40
@


1.49
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2025/10/23 20:36:57 wiz Exp $
d3 1
a3 1
PKGREVISION= 39
@


1.48
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.47 2025/10/05 19:25:54 js Exp $
d3 1
a3 1
PKGREVISION= 38
@


1.47
log
@*: rev bump for curl
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2025/09/27 09:57:17 wiz Exp $
d3 1
a3 1
PKGREVISION= 37
@


1.46
log
@*: recursive bump for boost 1.89
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2025/09/21 18:15:05 wiz Exp $
d3 1
a3 1
PKGREVISION= 36
@


1.45
log
@*: recursive bump for fmtlib 12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2025/09/21 15:11:36 wiz Exp $
d3 1
a3 1
PKGREVISION= 35
@


1.44
log
@*: recursive bump for openexr 3.4.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2025/08/30 22:45:03 wiz Exp $
d3 1
a3 1
PKGREVISION= 34
@


1.43
log
@*: recursive bump for tiff growing lerc dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2025/08/10 10:38:52 wiz Exp $
d3 1
a3 1
PKGREVISION= 33
@


1.42
log
@*: recursive bump for imath 3.2.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2025/04/24 14:13:53 wiz Exp $
d3 1
a3 1
PKGREVISION= 32
@


1.41
log
@*: recursive bump for jpeg -> libjpeg-turbo switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2025/04/19 07:57:47 wiz Exp $
d3 1
a3 1
PKGREVISION= 31
@


1.40
log
@*: recursive bump for default Kerberos implementation switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2025/04/17 21:50:43 wiz Exp $
d3 1
a3 1
PKGREVISION= 30
@


1.39
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2025/02/12 06:44:48 ryoon Exp $
d3 1
a3 1
PKGREVISION= 29
@


1.38
log
@*: Recursive revbump from audio/flac-1.5.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2024/12/29 15:09:47 adam Exp $
d3 1
a3 1
PKGREVISION= 28
@


1.37
log
@revbump after updating boost
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2024/12/27 08:19:45 wiz Exp $
d3 1
a3 1
PKGREVISION= 27
@


1.36
log
@*: recursive bump for pango requiring fontconfig 2.15
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2024/11/17 07:15:54 wiz Exp $
d3 1
a3 1
PKGREVISION= 26
@


1.35
log
@*: recursive bump for default-on option of at-spi2-core
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2024/11/14 22:19:47 wiz Exp $
d3 1
a3 1
PKGREVISION= 25
@


1.34
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2024/11/01 12:52:31 wiz Exp $
d3 1
a3 1
PKGREVISION= 24
@


1.33
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2024/11/01 00:51:45 wiz Exp $
d3 1
a3 1
PKGREVISION= 23
@


1.32
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2024/10/20 14:03:46 wiz Exp $
d3 1
a3 1
PKGREVISION= 22
@


1.31
log
@*: recursive bump for merging at-spi2-atk and atk into at2-spi-core

Remove at-spi2-atk and atk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2024/10/19 11:55:05 wiz Exp $
d3 1
a3 1
PKGREVISION= 21
@


1.30
log
@*: recursive bump for openexr shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2024/10/04 03:49:22 ryoon Exp $
d3 1
a3 1
PKGREVISION= 20
@


1.29
log
@*: Recursive revbump from Boost 1.86.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2024/05/29 16:32:31 adam Exp $
d3 1
a3 1
PKGREVISION= 19
@


1.28
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2024/05/16 06:14:52 wiz Exp $
d3 1
a3 1
PKGREVISION= 18
@


1.27
log
@*: recursive bump for gnutls p11-kit option

(existing installations need the bl3.mk included, but it's now only
optionally included)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2024/04/07 07:34:00 wiz Exp $
d3 1
a3 1
PKGREVISION= 17
@


1.26
log
@*: bump for cairo buildlink3.mk change

lzo was made an option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2024/04/06 08:05:22 wiz Exp $
d3 1
a3 1
PKGREVISION= 16
@


1.25
log
@* recursive bump for libxkbcommon 1.7.0

Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2024/01/30 14:21:51 ryoon Exp $
d3 1
a3 1
PKGREVISION= 15
@


1.24
log
@*: Recursive revbump from audio/pulseaudio-17.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2024/01/21 01:53:04 nikita Exp $
d3 1
a3 1
PKGREVISION= 14
@


1.23
log
@0ad: todo comment about failure with global debug option enabled
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2023/12/29 18:24:44 adam Exp $
d3 1
a3 1
PKGREVISION= 13
@


1.22
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2023/11/15 20:00:36 wiz Exp $
d73 2
@


1.21
log
@*: bump for openexr 3.2.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2023/11/14 14:01:50 wiz Exp $
d3 1
a3 1
PKGREVISION= 12
@


1.20
log
@*: recursive bump for cairo dependency changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2023/11/12 13:21:27 wiz Exp $
d3 1
a3 1
PKGREVISION= 11
@


1.19
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2023/11/08 13:19:10 wiz Exp $
d3 1
a3 1
PKGREVISION= 10
@


1.18
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2023/10/24 22:09:07 wiz Exp $
d3 1
a3 1
PKGREVISION= 9
@


1.17
log
@*: bump for openssl 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2023/10/21 17:10:12 gdt Exp $
d3 1
a3 1
PKGREVISION= 8
@


1.16
log
@recursive revbump for tiff update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2023/08/14 05:24:25 wiz Exp $
d3 1
a3 1
PKGREVISION= 7
@


1.15
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/07/18 18:13:42 nia Exp $
d3 1
a3 1
PKGREVISION= 6
@


1.14
log
@games: Adapt packages (where possible) to USE_(CC|CXX)_FEATURES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/06/06 12:41:24 riastradh Exp $
d3 1
a3 1
PKGREVISION= 5
@


1.13
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/06/06 08:02:08 wiz Exp $
d14 1
a14 3
# Requires C++17 and add "--std" option itself
GCC_REQD+=	7
USE_LANGUAGES=	c c++17
d18 2
@


1.12
log
@*: recursive bump for math/imath shlib version change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/05/28 17:04:32 wiz Exp $
d21 1
a21 1
BUILD_DEPENDS+=		premake5-[0-9]*:../../devel/premake5
@


1.11
log
@*: recursive bump for imath shared library major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/05/16 21:20:49 wiz Exp $
d3 1
a3 1
PKGREVISION= 4
@


1.10
log
@*: PKGREVISION bump for fmtlib shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/05/11 22:51:48 nikita Exp $
d3 1
a3 1
PKGREVISION= 3
@


1.9
log
@0ad: add freetype2 dependency, sort dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/05/07 12:33:44 wiz Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.8
log
@*: recursive bumpf ro math/imath shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/05/06 19:09:17 ryoon Exp $
d100 1
a137 1
.include "../../devel/SDL2/buildlink3.mk"
d142 1
d144 1
d146 1
a147 1
.include "../../graphics/openexr/buildlink3.mk"
d156 1
a156 1
.include "../../security/libsodium/buildlink3.mk"
a157 1
.include "../../textproc/fmtlib/buildlink3.mk"
d159 1
@


1.7
log
@*: Recursive revbump from audio/libopus 1.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/05/05 14:55:18 nikita Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.6
log
@0ad: fix part of the rpath issues + use pkgconfig for miniupnpc
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/05/05 08:30:25 nikita Exp $
d3 1
@


1.5
log
@0ad: gnutls, idn2 bl3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/05/05 00:08:13 nikita Exp $
d15 1
a15 1
USE_LANGUAGES=	c c++
d30 6
d76 8
d96 1
a96 2
		--without-pch \
		${CONFIGURE_EDITOR} ${CONFIGURE_TESTS}
d103 1
a103 4
	# why? you have the rpath. don't produce nonsense?
	${PREFIX}/bin/patchelf --force-rpath --set-rpath \
		${PREFIX}/lib/${PKGBASE}:${PREFIX}/lib \
		${DESTDIR}${PREFIX}/bin/ActorEditor
d110 2
a111 2
	# TODO: all of these should be .so.
	cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libatlas.a \
d115 1
a115 2
		libsimulation2.a libtinygettext.a libCollada.so \
		libnvcore.so libnvimage.so libnvmath.so libnvtt.so \
d119 2
@


1.4
log
@0ad: move do-build into standard build.
add 2 patches to revert upstream (build system) changes to nvtt.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/05/04 17:29:33 nikita Exp $
d128 1
d143 1
@


1.3
log
@0ad: allow 0ad-data dependency with revisions.
python dependency seems limited to tests, restrict it to the test option.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/05/04 15:26:02 nikita Exp $
d62 6
a73 2
# --with-system-nvtt

a84 5
do-build:
	${RUN} cd ${WRKSRC} && \
		${GMAKE} config=release verbose=1 -j ${_MAKE_JOBS_N:U1} \
		-C build/workspaces/gcc

d108 1
a108 1
	# hack. figure out where to set the rpath in the cmake build of the bundled nvtt.
@


1.2
log
@0ad, 0ad-data: remove wip references
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/05/04 15:20:52 nikita Exp $
d19 1
a19 3
PYTHON_VERSIONS_INCOMPATIBLE=	27

DEPENDS+=		0ad-data-${PKGVERSION}:../../games/0ad-data
a20 1
TOOL_DEPENDS+=		python${PYTHON_VERSION_DEFAULT}-[0-9]*:../../lang/python${PYTHON_VERSION_DEFAULT}
d136 1
d138 1
@


1.1
log
@0ad: import as games/0ad version 0.0.26.alpha

from wip/0ad, with contributions by micha@@, Kamil Rytarowski, nikita@@,
and others.

0 A.D. (pronounced "zero-ey-dee") is a free, open-source, historical
Real Time Strategy (RTS) game currently under development by
Wildfire Games, a global group of volunteer game developers. As the
leader of an ancient civilization, you must gather the resources you need
to raise a military force and dominate your enemies.

History is Yours for the Taking

"0 A.D." is a time period that never actually existed: In the usual
calendar, one goes from 1 B.C. to 1 A.D. and skips zero. This reflects
the historical fiction in the game: Who would have won if all the
factions were pitted against each other when each of them was at its
prime?

We intend to portray some of the major civilizations over the millennium
of 500 B.C. to 500 A.D. (Hence the midpoint, zero.) That is an ambitious
prospect, so in the first edition of 0 A.D. we focus on the last five
centuries B.C. Perhaps in future expansion packs, more civilizations will
be added, along with additional gameplay features.
We put a strong emphasis on historical accuracy while developing 0 A.D.
We plan all our units and all our buildings based on reconstructions of
how the units and the buildings might have looked like in the ancient
world. We even name them in the original languages, such as Greek and
Latin. But it's worth remembering that any game should be fun to play,
so, in many cases, we preferred playability over historical accuracy.

0 A.D. is Free of Charge

0 A.D. is completely downloadable at no cost and always will be. No
"freemium" model, no in-game advertising, no catch. This is our iron-clad
guarantee.
Although you might find some people selling copies of 0 A.D. on physical
media, remember, you will always have the option to download 0 A.D.
gratis on the internet, directly from the developers.

0 A.D. is Free as in "Freedom"

0 A.D. is freely licensed software, because we believe everyone should
have access to great games, and that everyone can learn from developing
them. You can redistribute and modify the game as long as you abide by
the GPL. And you can even use parts of the art and sound for your own
projects as long as you abide by CC BY-SA.

0 A.D. is Still Under Development

Work on 0 A.D. began in 2001, first as a mod concept for
Age of Empires II: The Age of Kings. In 2003 development moved to a
standalone game with its own engine, Pyrogenesis. In 2009-2010, the game
was released as free, open-source software and and much of the codebase
was rewritten.
Currently, 0 A.D. is still in alpha phase, which means an early
experimental phase. It is playable, and you can already download and test
the game, but some features are still missing. When will 0 A.D. be
released? It is very hard to predict. Even after we are done implementing
all the features, we will want to conduct extensive beta testing, which
can take a while. Information about release dates will be released at the
appropriate time.
@
text
@d1 1
a1 1
# $NetBSD$
d21 1
a21 1
DEPENDS+=		0ad-data-${PKGVERSION}:../../wip/0ad-data
@

