1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/devel/py-cxx/Makefile
Adam Weinberger 82fc70fd02 Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by:	portmgr (blanket)
2014-07-03 23:57:07 +00:00

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>