mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 19:16:39 -04:00
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
25 lines
676 B
Makefile
25 lines
676 B
Makefile
PORTNAME= p4python
|
|
PORTVERSION= 2024.2.2682690
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= antonfb@hesiod.org
|
|
COMMENT= Python bindings for the Perforce API
|
|
WWW= https://www.perforce.com/manuals/p4python/Content/P4Python/Home-p4python.html
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/perforce/libclient.a:devel/p4api
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= dos2unix python ssl
|
|
USE_PYTHON= distutils autoplist
|
|
PYDISTUTILS_BUILDARGS= --ssl ${OPENSSLLIB}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's:%%LOCALBASE%%:${LOCALBASE}:' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|