mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
82fc70fd02
Approved by: portmgr (blanket)
35 lines
755 B
Makefile
35 lines
755 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cxx
|
|
PORTVERSION= 6.0.0
|
|
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++
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_PYTHON_PREFIX= yes
|
|
PYDISTUTILS_PKGNAME= CXX
|
|
PYDISTUTILS_PKGVERSION= 5.3
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/PyCXX.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
|
|
${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|