Fixup fromcvs/togit conversion
[pkgsrcv2.git] / emulators / darwin_lib / Makefile
1 # $NetBSD: Makefile,v 1.11 2011/03/03 13:06:49 obache Exp $
2
3 DISTNAME=       darwin_lib-6.6.2
4 PKGREVISION=    3
5 CATEGORIES=     emulators
6 MASTER_SITES=   # http://www.opendarwin.org/downloads/6.6.2/RPMS/ \
7 #               http://www.opendarwin.org/downloads/6.6.2/RPMS/${DARWIN_ARCH}/
8 DISTFILES=      org.opendarwin.Libsystem-6.6.2-4.fat.rpm \
9                 org.opendarwin.Libm-6.6.2-4.fat.rpm \
10                 org.opendarwin.cctools-6.6.2-4.fat.rpm \
11                 org.opendarwin.ncurses-6.6.2-4.fat.rpm \
12                 org.opendarwin.IOKitUser-6.6.2-4.fat.rpm \
13                 org.opendarwin.XFree86-6.6.2-4.${DARWIN_ARCH}.rpm
14
15 MAINTAINER=     pkgsrc-users@NetBSD.org
16 COMMENT=        Darwin compatibility libraries (including X11)
17
18 # The opendarwin.org domain is completely gone.  MASTER_SITES should
19 # probably point to ${MASTER_SITE_LOCAL} instead.  I also think the ppc
20 # XFree86 RPM is no longer available anywhere.
21 #
22 #HOMEPAGE=      http://www.opendarwin.org/
23
24 EMUL_PLATFORMS=         darwin-i386 darwin-powerpc
25 ONLY_FOR_PLATFORM=      NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386          \
26                         NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386
27
28 PKG_DESTDIR_SUPPORT=    destdir
29
30 DARWIN_PKG=             yes
31 DARWIN_ARCH=            ${MACHINE_ARCH:C/powerpc/ppc/:C/x86_64/i386/}
32 WRKSRC=                 ${WRKDIR}
33 BUILD_DIRS=             # empty
34
35 EMUL_PKG_FMT=           rpm
36 RPM2PKG_PREFIX=         ${DESTDIR}${PREFIX}
37 RPM2PKG_SUBPREFIX=      ${EMULSUBDIR}
38 RPM2PKG_STAGE=          do-install
39 RPMIGNOREPATH=          ./Developer ./usr/X11R6/lib/X11/doc/html        \
40                         ./usr/share/man ./usr/include ./usr/X11R6/man   \
41                         ./usr/X11R6/include ./usr/local/include         \
42                         ./usr/local/man
43
44 .include "../../mk/bsd.pkg.mk"