1 # $NetBSD: Makefile,v 1.2 2009/05/19 08:59:00 wiz Exp $
7 PKG_DESTDIR_SUPPORT= user-destdir
9 .include "../../emulators/sap/Makefile.common"
11 .if ${SAP_OPSYS} == "linux"
12 .if ${SAP_ARCH} == "x86_64"
13 DISTNAME= SAPCAR_0-10003690.exe
14 .elif ${SAP_ARCH} == "i386"
15 DISTNAME= SAPCAR_0-10003688.exe
16 .elif ${SAP_ARCH} == "powerpc64"
17 DISTNAME= SAPCAR_0-10003687.exe
18 .elif ${SAP_ARCH} == "ia64"
19 DISTNAME= SAPCAR_0-10003689.exe
21 BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported
23 .elif ${SAP_OPSYS} == "aix"
24 .if ${SAP_ARCH} == "powerpc"
25 DISTNAME= SAPCAR_0-10003699.exe
27 BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported
29 .elif ${SAP_OPSYS} == "hpux"
30 .if ${SAP_ARCH} == "ia64"
31 DISTNAME= SAPCAR_0-10003682.exe
32 .elif ${SAP_ARCH} == "hppa"
33 DISTNAME= SAPCAR_0-10003683.exe
35 BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported
37 .elif ${SAP_OPSYS} == "solaris"
38 .if ${SAP_ARCH} == "x86_64"
39 DISTNAME= SAPCAR_0-10003701.exe
40 .elif ${SAP_ARCH} == "sparc64"
41 DISTNAME= SAPCAR_0-10003702.exe
43 BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported
45 .elif ${SAP_OPSYS} == "interix"
46 # Note: only native windows and interix is supported here - maybe MKS Toolkit
48 .if ${SAP_ARCH} == "x86_64"
49 DISTNAME= SAPCAR_0-10003696.exe
50 .elif ${SAP_ARCH} == "i586"
51 DISTNAME= SAPCAR_0-10003694.exe
52 .elif ${SAP_ARCH} == "ia64"
53 DISTNAME= SAPCAR_0-10003695.exe
55 BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported
58 BROKEN= Plattform ${OPSYS} not supported
61 MAINTAINER= pkgsrc-users@NetBSD.org
65 RESTRICTED= Only unmodified original package can be distributed
66 NO_BIN_ON_CDROM= ${RESTRICTED}
67 NO_BIN_ON_FTP= ${RESTRICTED}
69 WRKSRC= ${WRKDIR}/SAPCAR
78 ${CP} ${_DISTDIR:Q}/${f:Q} ${WRKSRC:Q}/${f:Q}
82 ${INSTALL_PROGRAM} ${WRKSRC:Q}/${DISTNAME} ${PREFIX:Q}/bin/SAPCAR
84 .include "../../mk/bsd.pkg.mk"