Files
ports/devel/py-cysignals/Makefile
T
Danilo G. Baio b53abbd839 Remove PY_SPHINX from ports using Python 3
Approved by:	 portmgr blanket
Differential Revision:	https://reviews.freebsd.org/D28093
2021-01-14 14:34:38 +00:00

37 lines
805 B
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= cysignals
DISTVERSION= 1.10.2
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Interrupt and signal handling for Cython
LICENSE= LGPL3
BUILD_DEPENDS= cython:lang/cython
LIB_DEPENDS= libpari.so:math/pari
USE_GITHUB= yes
GH_ACCOUNT= sagemath
USES= autoreconf:build compiler:c++11-lang gettext localbase python:3.6+
USE_PYTHON= distutils
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6,1:textproc/py-sphinx@${PY_FLAVOR}
DOCS_USES= gmake
PORTDOCS= *
do-build-DOCS-on:
(cd ${WRKSRC}/docs && ${GMAKE} html)
post-build-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>