head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.10.0.4
	pkgsrc-2026Q1-base:1.10
	pkgsrc-2025Q4:1.10.0.2
	pkgsrc-2025Q4-base:1.10
	pkgsrc-2025Q3:1.9.0.2
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.8.0.4
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.8.0.2
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.7.0.6
	pkgsrc-2024Q4-base:1.7
	pkgsrc-2024Q3:1.7.0.4
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.7.0.2
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.6.0.2
	pkgsrc-2024Q1-base:1.6
	pkgsrc-2023Q4:1.5.0.4
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.5.0.2
	pkgsrc-2023Q3-base:1.5
	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.10
date	2025.10.23.20.37.11;	author wiz;	state Exp;
branches;
next	1.9;
commitid	1V2hBZn9ypXaCJfG;

1.9
date	2025.09.10.22.14.53;	author charlotte;	state Exp;
branches;
next	1.8;
commitid	PBNjq8IkAs5lydaG;

1.8
date	2025.02.12.06.45.00;	author ryoon;	state Exp;
branches;
next	1.7;
commitid	wrOiT0jBBwBs99JF;

1.7
date	2024.04.06.08.05.34;	author wiz;	state Exp;
branches;
next	1.6;
commitid	xuM7fEJrv2TOC35F;

1.6
date	2024.01.30.14.22.01;	author ryoon;	state Exp;
branches;
next	1.5;
commitid	gARf2FgciecARtWE;

1.5
date	2023.07.18.18.13.44;	author nia;	state Exp;
branches;
next	1.4;
commitid	GzwynUjytkfWrjxE;

1.4
date	2023.07.09.22.16.17;	author nia;	state Exp;
branches;
next	1.3;
commitid	jJTxXsfwtvx95bwE;

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.52.39;	author charlotte;	state Exp;
branches;
next	1.1;
commitid	ONo32ZuFFZJvcwgE;

1.1
date	2023.02.15.02.21.37;	author charlotte;	state Exp;
branches;
next	;
commitid	X4xqwUCfLXNe6zdE;


desc
@@


1.10
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.9 2025/09/10 22:14:53 charlotte Exp $

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

MAINTAINER=	charlotte@@NetBSD.org
HOMEPAGE=	https://www.pangeasoft.net/nano/index.html
COMMENT=	Source port of Nanosaur from Pangea Software
LICENSE=	cc-by-nc-sa-v4.0-license

GITHUB_SUBMODULES=	\
	jorio Pomme fd1cd2cf81a2d39a4e47e76485860a87f0bf33f6 extern/Pomme

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

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

USE_CXX_FEATURES+=	has_include

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

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

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

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


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


1.8
log
@*: Recursive revbump from audio/flac-1.5.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/04/06 08:05:34 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
a18 1
USE_CMAKE=	yes
d34 1
a34 1
	${INSTALL_PROGRAM} ${WRKSRC}/Nanosaur ${DESTDIR}${PREFIX}/libexec
d37 1
@


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


1.6
log
@*: Recursive revbump from audio/pulseaudio-17.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/07/18 18:13:44 nia Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.5
log
@games: Adapt packages (where possible) to USE_(CC|CXX)_FEATURES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/07/09 22:16:17 nia Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.4
log
@nanosaur: require at least gcc 5 for __has_include
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/05/06 19:09:26 ryoon Exp $
d23 1
a23 2
# __has_include
GCC_REQD+=	5
@


1.3
log
@*: Recursive revbump from audio/libopus 1.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/03/10 01:52:39 charlotte Exp $
d23 3
@


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


1.1
log
@
games/nanosaur: Import package

This is Pangea Software's Nanosaur updated to run on modern systems.

Originally released in 1998 as a Mac-only game, Nanosaur casts a cybernetic
dinosaur from the future who's sent back in time 20 minutes before a giant
asteroid hits the Earth.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a7 4
DISTFILES+=	${DEFAULT_DISTFILES} ${POMME}

POMME=		fd1cd2cf81a2d39a4e47e76485860a87f0bf33f6.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

@

