# 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}