aboutsummaryrefslogblamecommitdiff
path: root/math/pynac/Makefile
blob: 260d9c2beaa8574e26d741057381a7f73db07a4f (plain) (tree)
1
2
3
4
5
6
7
                               

                     
                      
                 
                           
                                                                   







                                                                                   
                                                 


                                                 

                                                                                 

                            
                






                                                             
                                                                


                     





                                                                                          
                      
# Created by: thierry@pompo.net

PORTNAME=	pynac
PORTVERSION=	0.7.27
PORTREVISION=	2
CATEGORIES=	math python
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/archive/

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	Symbolic computation with Python objects, Sage Math support library

LICENSE=	GPLv2

LIB_DEPENDS=	libgmp.so:math/gmp		\
		libntl.so:math/ntl		\
		libmpfr.so:math/mpfr		\
		libflint.so:math/flint2		\
		libSingular.so:math/singular

USES=		autoreconf compiler:c++11-lang libtool localbase pkgconfig	\
		python:3.6+

OPTIONS_DEFINE=		GIAC
OPTIONS_DEFAULT=
GIAC_DESC=		Use giac for polynomial manipulations
GIAC_LIB_DEPENDS=	libgiac.so:math/giacxcas
GIAC_CONFIGURE_ON=	--with-giac
GIAC_CONFIGURE_OFF=	--without-giac
GIAC_LIBS=		"-lm"

GNU_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
USE_LDCONFIG=	yes
TEST_TARGET=	check

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGIAC}
BROKEN_FreeBSD_11=	libgiac is broken (undefined reference to `__divmodti4@GCC_7.0.0')
.endif

.include <bsd.port.mk>