summaryrefslogtreecommitdiff
path: root/emulators/darwin_lib/Makefile
blob: 8f0448ee35efeb3e92f41fbccb2f180b8555dd4c (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.10 2010/02/25 15:05:31 joerg Exp $

DISTNAME=	darwin_lib-6.6.2
PKGREVISION=	2
CATEGORIES=	emulators
MASTER_SITES=	# http://www.opendarwin.org/downloads/6.6.2/RPMS/ \
#		http://www.opendarwin.org/downloads/6.6.2/RPMS/${DARWIN_ARCH}/
DISTFILES=	org.opendarwin.Libsystem-6.6.2-4.fat.rpm \
		org.opendarwin.Libm-6.6.2-4.fat.rpm \
		org.opendarwin.cctools-6.6.2-4.fat.rpm \
		org.opendarwin.ncurses-6.6.2-4.fat.rpm \
		org.opendarwin.IOKitUser-6.6.2-4.fat.rpm \
		org.opendarwin.XFree86-6.6.2-4.${DARWIN_ARCH}.rpm

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Darwin compatibility libraries (including X11)

# The opendarwin.org domain is completely gone.  MASTER_SITES should
# probably point to ${MASTER_SITE_LOCAL} instead.  I also think the ppc
# XFree86 RPM is no longer available anywhere.
#
#HOMEPAGE=	http://www.opendarwin.org/

EMUL_PLATFORMS=		darwin-i386 darwin-powerpc
ONLY_FOR_PLATFORM=	NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386		\
			NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386

DARWIN_PKG=		yes
DARWIN_ARCH=		${MACHINE_ARCH:C/powerpc/ppc/:C/x86_64/i386/}
WRKSRC=			${WRKDIR}
BUILD_DIRS=		# empty

EMUL_PKG_FMT=		rpm
RPM2PKG_PREFIX=		${PREFIX}
RPM2PKG_SUBPREFIX=	${EMULSUBDIR}
RPM2PKG_STAGE=		do-install
RPMIGNOREPATH=		./Developer ./usr/X11R6/lib/X11/doc/html	\
			./usr/share/man ./usr/include ./usr/X11R6/man	\
			./usr/X11R6/include ./usr/local/include		\
			./usr/local/man

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