# Created by: ijliao # $FreeBSD: head/devel/py-cxx/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= cxx PORTVERSION= 7.1.4 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME}/CXX/PyCXX%20V${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pycxx-${PORTVERSION} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Make it easier to extend Python with C++ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils pythonprefix PYDISTUTILS_PKGNAME= CXX DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/Doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} post-patch: @${REINPLACE_CMD} \ -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \ ${WRKSRC}/setup.py .include