# $FreeBSD: head/devel/py-p4python/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= p4python PORTVERSION= 2016.1.1447008 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= asomers@FreeBSD.org COMMENT= Python bindings for the Perforce API LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_riscv64= fails to build: TypeError: can only concatenate str (not "NoneType") to str BUILD_DEPENDS+= ${LOCALBASE}/lib/perforce/libclient.a:devel/p4api RUN_DEPENDS:= ${BUILD_DEPENDS} USES= dos2unix python:3.6+ ssl USE_PYTHON= distutils autoplist PYDISTUTILS_BUILDARGS= --ssl ${OPENSSLLIB} post-patch: @${REINPLACE_CMD} -e 's:%%LOCALBASE%%:${LOCALBASE}:' ${WRKSRC}/setup.py .include