blob: b48e09c7d294721af6b0aab4ab1359034edba624 (
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
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile.common,v 1.12 2007/08/29 16:58:48 jlam Exp $
#
P4_VERS= 2006.1
PKGNAME= ${DISTNAME}-${P4_VERS}
CATEGORIES= devel scm
MAINTAINER= schmonz@NetBSD.org
NO_CONFIGURE= yes
BUILD_DIRS= # empty
WRKSRC= ${WRKDIR}
DIST_SUBDIR= perforce
.if defined(P4BINONLY)
DIST_SUBDIR= perforce/${P4ARCH}
MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r06.1/bin.${P4ARCH}/
DISTFILES= ${DISTNAME}
EXTRACT_ONLY= # none
_STRIPFLAG_INSTALL= # none
EMUL_PLATFORMS+= darwin-i386 darwin-powerpc
EMUL_PLATFORMS+= linux-i386 linux-x86_64
EMUL_PLATFORMS+= netbsd-i386 netbsd-x86_64
EMUL_REQD= netbsd>=3.0
. include "../../mk/bsd.prefs.mk"
. if ${EMUL_PLATFORM} == "darwin-i386"
P4ARCH?= darwin80x86
. elif ${EMUL_PLATFORM} == "darwin-powerpc"
P4ARCH?= darwin80ppc
. elif ${EMUL_PLATFORM} == "linux-i386"
. if defined(EMUL_IS_NATIVE) && !empty(OS_VERSION:M2.6.*)
P4ARCH?= linux26x86
. else
P4ARCH?= linux24x86
. endif
. elif ${EMUL_PLATFORM} == "linux-x86_64"
P4ARCH?= linux26x86_64
. elif ${EMUL_PLATFORM} == "netbsd-i386"
P4ARCH?= netbsd31x86
. elif ${EMUL_PLATFORM} == "netbsd-x86_64"
P4ARCH?= netbsd31x86_64
. else
P4ARCH?= none
. endif
.endif # P4BINONLY
|