aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p4/Makefile.inc
blob: 0f3255a1e29e2f69535675cf4e0ede0aa824fb35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Figure out what to install
.if ${OPSYS} == FreeBSD

ONLY_FOR_ARCHS?= amd64 i386

.if ${ARCH} == amd64
PLATFORM=   freebsd100x86_64

.elif ${ARCH} == i386
PLATFORM=   freebsd100x86

.else
IGNORE=     unsupported OS release, sorry
.endif

.else
IGNORE=     ${OPSYS} is unsupported, sorry
.endif

P4VERSION?= r${PORTVERSION:S/^20//:C/\.[0-9]+$//}
DIST_SUBDIR?=   perforce/${PORTVERSION}/bin.${PLATFORM}
DISTINFO_FILE?= ${MASTERDIR}/distinfo.${PLATFORM}