Prune devel/py-EnthoughtBase
[dports.git] / devel / py-cxx / Makefile
1 # Created by: ijliao
2 # $FreeBSD$
3
4 PORTNAME=       cxx
5 PORTVERSION=    6.0.0
6 CATEGORIES=     devel python
7 MASTER_SITES=   SF/${PORTNAME}/CXX/PyCXX%20V${PORTVERSION}
8 PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
9 DISTNAME=       pycxx-${PORTVERSION}
10
11 MAINTAINER=     lwhsu@FreeBSD.org
12 COMMENT=        Make it easier to extend Python with C++
13
14 USES=           python
15 USE_PYTHON=     distutils pythonprefix
16 PYDISTUTILS_PKGNAME=    CXX
17 PYDISTUTILS_PKGVERSION= 5.3
18
19 DOCSDIR=        ${PREFIX}/share/doc/py-${PORTNAME}
20 PORTDOCS=       *
21
22 OPTIONS_DEFINE= DOCS
23
24 post-install:
25         @${MKDIR} ${STAGEDIR}${DOCSDIR}
26         ${INSTALL_DATA} ${WRKSRC}/Doc/PyCXX.html ${STAGEDIR}${DOCSDIR}
27
28 post-patch:
29         @${REINPLACE_CMD} \
30                 -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
31                 ${WRKSRC}/setup.py
32
33 .include <bsd.port.mk>