summaryrefslogtreecommitdiff
path: root/emulators/compat51/Makefile
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2013-02-17 17:24:07 +0000
committerspz <spz@pkgsrc.org>2013-02-17 17:24:07 +0000
commit5583d592f2b9fba385659fd806e0c20cdeb2870b (patch)
tree1a6d8d01506810e290b364b09187d373d044dca5 /emulators/compat51/Makefile
parent6f5e7a0ff090f2ca55d3e0a8c82e903ebbe5dbc7 (diff)
downloadpkgsrc-5583d592f2b9fba385659fd806e0c20cdeb2870b.tar.gz
NetBSD compat packages. They chain each other so if you're on NetBSD-6.0
and want NetBSD-5.0 compatibility, compat50 will depend on compat51 to bridge the gap. There is currently no need for a compat52, nor for a compat60-x11. The compat tarballs may be larger than strictly necessary. Testing was 'lightly', so there's probably Room for Improvement (tm).
Diffstat (limited to 'emulators/compat51/Makefile')
-rw-r--r--emulators/compat51/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/emulators/compat51/Makefile b/emulators/compat51/Makefile
new file mode 100644
index 00000000000..6745d27dbd6
--- /dev/null
+++ b/emulators/compat51/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2013/02/17 17:24:08 spz Exp $
+
+COMPAT_PKG= compat51 # for compat_netbsd/Makefile.common
+NETBSD_VERSION= 5.1
+
+HOMEPAGE= http://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"