1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/devel/py-cxx/Makefile
2021-06-02 17:05:38 +08:00

35 lines
780 B
Makefile

# Created by: ijliao
PORTNAME= cxx
PORTVERSION= 7.1.5
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
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 <bsd.port.mk>