update Wed Jan 20 06:37:00 PST 2010
[pkgsrc.git] / emulators / compat13 / Makefile
1 # $NetBSD: Makefile,v 1.31 2007/10/07 12:59:11 kano Exp $
2
3 COMPAT_PKG=             compat13        # for compat_netbsd/Makefile.common
4 NETBSD_VERSION=         1.3
5 PKGREVISION=            3
6
7 HOMEPAGE=               http://www.NetBSD.org/releases/formal-1.3/index.html
8 COMMENT=                Shared libraries for NetBSD 1.3 compatibility
9
10 EMUL_PLATFORMS=         netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
11                         netbsd-mipsel netbsd-ns32k netbsd-sparc
12
13 ONLY_FOR_PLATFORM=      NetBSD-1.3[A-Z]*-* NetBSD-1.[4-9]*-*            \
14                         NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
15
16 .include "../../emulators/compat_netbsd/Makefile.common"
17
18 .if (${EMUL_PLATFORM} == "netbsd-arm")
19 DISTNAME=               compat13-${EMUL_ARCH}-1.3.2
20 .else
21 DISTNAME=               compat13-${EMUL_ARCH}-1.3.3
22 .endif
23
24 # We need to depend on the compat14 package to supply shared libraries
25 # missing from compat13 on NetBSD>1.4.
26 #
27 .if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-3]*) && \
28     empty(OS_VERSION:M1.4) && empty(OS_VERSION:M1.4.*)
29 DEPENDS+=               compat14>=1.4:../../emulators/compat14
30 .endif
31
32 .include "../../mk/bsd.pkg.mk"