summaryrefslogtreecommitdiff
path: root/emulators/flexemu/Makefile
blob: b9869aa3664f4b0ee1e28416704d0253ef809c42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	flexemu
DISTVERSIONPREFIX=	V
DISTVERSION=	3.30
PORTREVISION=	1
CATEGORIES=	emulators

MAINTAINER=	rhurlin@FreeBSD.org
COMMENT=	MC6809 emulator running FLEX operating system
WWW=		https://flexemu.neocities.org/

LICENSE=	GPLv2

USES=		cmake compiler:c++17-lang desktop-file-utils gl \
		ncurses qt:6 shared-mime-info xorg
USE_GITHUB=	yes
GH_ACCOUNT=	aladur
GH_TUPLE=	fmtlib:fmt:0c9fce2:fmt/fmt \
		google:googletest:b514bdc:googletest/googletest \
		open-source-parsers:jsoncpp:8214f71:jsoncpp/jsoncpp
USE_GL=		gl opengl
USE_QT=		base declarative
USE_XORG=	ice sm x11

# The minimum supported clang-tidy version is 19.0.0
CMAKE_ARGS+=	-DFLEXEMU_QT_MAJOR_VERSION=6 \
		-DCLANG_TIDY=${LOCALBASE}/bin/clang-tidy${COMPILER_VERSION:C/.$//} \
		-DRUN_CLANG_TIDY=${LOCALBASE}/llvm${COMPILER_VERSION:C/.$//}/bin/run-clang-tidy

.include <bsd.port.mk>