Changeset View
Changeset View
Standalone View
Standalone View
devel/p4/Makefile.inc
# Figure out what to install | # Figure out what to install | ||||
.if ${OPSYS} == FreeBSD | .if ${OPSYS} == FreeBSD | ||||
ONLY_FOR_ARCHS?= amd64 i386 | ONLY_FOR_ARCHS?= amd64 i386 | ||||
.if ${ARCH} == amd64 | .if ${ARCH} == amd64 | ||||
. if ${OSVERSION} >= 1000100 | . if ${OSVERSION} >= 1000100 | ||||
PLATFORM= freebsd100x86_64 | PLATFORM= freebsd100x86_64 | ||||
. else | . else | ||||
PLATFORM= freebsd70x86_64 | IGNORE= unsupported OS release, sorry | ||||
. endif | . endif | ||||
.elif ${ARCH} == i386 | .elif ${ARCH} == i386 | ||||
. if ${OSVERSION} >= 1000100 | . if ${OSVERSION} >= 1000100 | ||||
PLATFORM= freebsd100x86 | PLATFORM= freebsd100x86 | ||||
. else | . else | ||||
PLATFORM= freebsd70x86 | IGNORE= unsupported OS release, sorry | ||||
. endif | . endif | ||||
.else | .else | ||||
IGNORE= unsupported OS release, sorry | IGNORE= unsupported OS release, sorry | ||||
.endif | .endif | ||||
.else | .else | ||||
IGNORE= ${OPSYS} is unsupported, sorry | IGNORE= ${OPSYS} is unsupported, sorry | ||||
.endif | .endif | ||||
P4VERSION?= r${PORTVERSION:S/^20//:C/\.[0-9]+$//} | P4VERSION?= r${PORTVERSION:S/^20//:C/\.[0-9]+$//} | ||||
DIST_SUBDIR?= perforce/${PORTVERSION}/bin.${PLATFORM} | DIST_SUBDIR?= perforce/${PORTVERSION}/bin.${PLATFORM} | ||||
DISTINFO_FILE?= ${MASTERDIR}/distinfo.${PLATFORM} | DISTINFO_FILE?= ${MASTERDIR}/distinfo.${PLATFORM} |