mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1a54150cf0
Add LICENSE
36 lines
792 B
Makefile
36 lines
792 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
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
|
|
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>
|