head	1.8;
access;
symbols
	pkgsrc-2026Q1:1.8.0.4
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.2
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.7.0.2
	pkgsrc-2025Q3-base:1.7
	pkgsrc-2025Q2:1.6.0.4
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.2
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.5.0.6
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.5.0.4
	pkgsrc-2024Q3-base:1.5
	pkgsrc-2024Q2:1.5.0.2
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.4.0.2
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.3.0.6
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.3.0.4
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.3.0.2
	pkgsrc-2023Q2-base:1.3
	pkgsrc-2023Q1:1.2.0.2
	pkgsrc-2023Q1-base:1.2;
locks; strict;
comment	@# @;


1.8
date	2025.10.23.20.37.11;	author wiz;	state Exp;
branches;
next	1.7;
commitid	1V2hBZn9ypXaCJfG;

1.7
date	2025.09.10.22.21.37;	author charlotte;	state Exp;
branches;
next	1.6;
commitid	G528ctm2Es5EAdaG;

1.6
date	2025.02.12.06.45.00;	author ryoon;	state Exp;
branches;
next	1.5;
commitid	wrOiT0jBBwBs99JF;

1.5
date	2024.04.06.08.05.34;	author wiz;	state Exp;
branches;
next	1.4;
commitid	xuM7fEJrv2TOC35F;

1.4
date	2024.01.30.14.22.01;	author ryoon;	state Exp;
branches;
next	1.3;
commitid	gARf2FgciecARtWE;

1.3
date	2023.05.06.19.09.26;	author ryoon;	state Exp;
branches;
next	1.2;
commitid	U0SnpK5fQpHc6WnE;

1.2
date	2023.03.10.01.56.51;	author charlotte;	state Exp;
branches;
next	1.1;
commitid	yK3b0T7x0NkXdwgE;

1.1
date	2023.02.15.03.06.42;	author charlotte;	state Exp;
branches;
next	;
commitid	NglQu7EA521GlzdE;


desc
@@


1.8
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
@# $NetBSD: Makefile,v 1.7 2025/09/10 22:21:37 charlotte Exp $

DISTNAME=	nanosaur2-2.1.0
PKGREVISION=	7
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=jorio/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	charlotte@@NetBSD.org
HOMEPAGE=	https://jorio.itch.io/nanosaur2
COMMENT=	Source port of Nanosaur 2: Hatchling from Pangea Software
LICENSE=	cc-by-nc-sa-v4.0-license

GITHUB_SUBMODULES=	\
	jorio Pomme 6e4ea042ba9e7e525d3930e45662be15605153c4 extern/Pomme

USE_LANGUAGES=	c c++
USE_TOOLS+=	pax pkg-config

WRKSRC=		${WRKDIR}/Nanosaur2-${PKGVERSION_NOREV}

INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	libexec
INSTALLATION_DIRS+=	share/nanosaur2/Data

pre-configure:
	${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},g' \
		${FILESDIR}/nanosaur2.template > ${WRKDIR}/nanosaur2

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/nanosaur2 ${DESTDIR}${PREFIX}/bin/nanosaur2
	${INSTALL_PROGRAM} ${WRKSRC}/${CMAKE_BUILD_DIR}/Nanosaur2 ${DESTDIR}${PREFIX}/libexec
	(cd ${WRKSRC}/Data && ${PAX} -r -w . ${DESTDIR}${PREFIX}/share/nanosaur2/Data)

.include "../../devel/cmake/build.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.7
log
@games/nanosaur2: Use cmake/build.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/02/12 06:45:00 ryoon Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.6
log
@*: Recursive revbump from audio/flac-1.5.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/04/06 08:05:34 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
a16 1
USE_CMAKE=	yes
d32 1
a32 1
	${INSTALL_PROGRAM} ${WRKSRC}/Nanosaur2 ${DESTDIR}${PREFIX}/libexec
d35 1
@


1.5
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.4 2024/01/30 14:22:01 ryoon Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.4
log
@*: Recursive revbump from audio/pulseaudio-17.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/05/06 19:09:26 ryoon Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.3
log
@*: Recursive revbump from audio/libopus 1.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/03/10 01:56:51 charlotte Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.2
log
@games/nanosaur2: Use GITHUB_SUBMODULES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/02/15 03:06:42 charlotte Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@games/nanosaur2: Import package

Nanosaur II: Hatchling is a continuation of the original Nanosaur storyline,
only this time you get to fly a pterodactyl who's loaded with hi-tech
weaponry. In addition to the three level adventure mode where you blast
enemy dinos and save eggs, there are also six two-player levels including
racing, capture-the-flag, and battle.

This is a port of the original Mac version of the game to modern operating
systems, made under permission from Pangea Software, Inc.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a7 4
DISTFILES+=	${DEFAULT_DISTFILES} ${POMME}

POMME=		6e4ea042ba9e7e525d3930e45662be15605153c4.tar.gz
SITES.${POMME}=	${MASTER_SITE_GITHUB:=jorio/}Pomme/archive/
d14 3
a26 4
post-extract:
	${RM} -rf ${WRKSRC}/extern/Pomme
	${LN} -sf ${WRKDIR}/Pomme-${POMME:S/.tar.gz//} ${WRKSRC}/extern/Pomme

@

