summaryrefslogtreecommitdiff
path: root/emulators/compat51/Makefile
blob: 8810ad67edc1df16037c65adcc89e188888b8fff (plain)
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
# $NetBSD: Makefile,v 1.2 2020/01/18 23:30:49 rillig Exp $

COMPAT_PKG=		compat51	# for compat_netbsd/Makefile.common
NETBSD_VERSION=		5.1

HOMEPAGE=		https://www.NetBSD.org/releases/formal-5/index.html
COMMENT=		Shared libraries for NetBSD 5.1 compatibility
LICENSE=		2-clause-bsd AND modified-bsd AND isc

EMUL_PLATFORMS=		netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k	\
			netbsd-mipseb netbsd-mipsel netbsd-powerpc	\
			netbsd-sparc netbsd-sparc64 netbsd-x86_64

ONLY_FOR_PLATFORM=	NetBSD-5.[3-9]*-* NetBSD-[6-9]*-* NetBSD-[1-9][0-9]*-*

.include "../../emulators/compat_netbsd/Makefile.common"

DISTNAME=		compat51-${EMUL_ARCH}-${COMPAT_VERSION}
COMPAT_VERSION=		5.1

# should we get a 5.10 this rule would need to be amended
.if empty(OS_VERSION:M[0-4].*) && empty(OS_VERSION:M5.[3-9].*)
DEPENDS+=	compat60>=6.0:../../emulators/compat60
.endif

.include "options.mk"

.include "../../mk/bsd.pkg.mk"