mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
c055f5b540
To be used by SageMath.
45 lines
969 B
Makefile
45 lines
969 B
Makefile
# Created by: thierry@pompo.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fpylll
|
|
DISTVERSION= 0.5.1dev
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Python interface for fplll
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
|
cython:lang/cython \
|
|
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
|
|
LIB_DEPENDS= libfplll.so:math/fplll \
|
|
libgmp.so:math/gmp \
|
|
libmpfr.so:math/mpfr \
|
|
libpari.so:math/pari
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= fplll
|
|
|
|
USES= compiler:c++11-lang python:3.6+
|
|
USE_PYTHON= distutils
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_BUILD_DEPENDS= ${PY_SPHINX}
|
|
DOCS_USES= gmake
|
|
PORTDOCS= *
|
|
|
|
PLIST_SUB= VER=${PORTVERSION:R}
|
|
|
|
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>
|