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.12;	author wiz;	state Exp;
branches;
next	1.9;
commitid	1V2hBZn9ypXaCJfG;

1.9
date	2025.09.10.22.48.20;	author charlotte;	state Exp;
branches;
next	1.8;
commitid	9X2YCL3p8HQMJdaG;

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

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

1.6
date	2024.01.30.14.22.02;	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.18.44;	author nia;	state Exp;
branches;
next	1.3;
commitid	JyOfE87lntx06bwE;

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

1.2
date	2023.03.10.02.05.59;	author charlotte;	state Exp;
branches;
next	1.1;
commitid	qAt307nUu7O5hwgE;

1.1
date	2023.03.02.04.14.15;	author charlotte;	state Exp;
branches;
next	;
commitid	7Ox5lqmyg771fvfE;


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:48:20 charlotte Exp $

DISTNAME=	ottomatic-4.0.1
PKGREVISION=	7
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=jorio/}

MAINTAINER=	charlotte@@NetBSD.org
HOMEPAGE=	https://pangeasoft.net/otto/
COMMENT=	Pangea Software's Otto Matic
LICENSE=	cc-by-nc-sa-v4.0-license

GITHUB_SUBMODULES=	\
	jorio Pomme ad9cc177d2187f67bd00cb6cf2b3045ef91c577b extern/Pomme

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

USE_CXX_FEATURES+=	has_include

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

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

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

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

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


1.9
log
@games/ottomatic: Use cmake/build.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2025/02/12 06:45:01 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:35 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
a15 1
USE_CMAKE=	yes
d33 1
a33 1
	${INSTALL_PROGRAM} ${WRKSRC}/OttoMatic ${DESTDIR}${PREFIX}/libexec
d36 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:02 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:18:44 nia Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.4
log
@ottomatic: Require at least gcc5 for __has_include
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/05/06 19:09:27 ryoon Exp $
d20 1
a20 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 02:05:59 charlotte Exp $
d20 3
@


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


1.1
log
@games/ottomatic: Import package

This is Pangea Software's Otto Matic updated to run on modern desktop
platforms.

The year is 1957 and a fleet of flying saucers from Planet X have come to
Earth. These saucers are under the control of the evil Brain Aliens who are
abducting helpless human beings to become slaves of The Giant Brain.

You are Otto Matic, the robot who is given the job of saving Earth from the
clutches of The Giant Brain from Planet X. You must rescue as many humans as
you can while defeating the Brain Aliens and all of their evil followers.
Your mission will take you to strange and fantastic alien worlds which are
often treacherous and will require Otto to perform amazing feats.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a6 4
DISTFILES+=	${DEFAULT_DISTFILES} ${POMME}

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

@

