aboutsummaryrefslogblamecommitdiff
path: root/math/flint2/Makefile
blob: b2252abb56436388b49cc5085344c2bd7aada235 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                      
                         

                    



                                                                    








                                              
                     


                                
                      
                       

                   
                                 

                      
# $FreeBSD$

PORTNAME=	flint2
DISTVERSION=	g20190210
CATEGORIES=	math

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
PATCHFILES=	a143883797f27f853332adbee09b76f48b5fbfaf.patch:-p1 \
		1266c04004a846221491cb005fc8ba45cd3c75f4.patch:-p1

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Fast library for number theory

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libgmp.so:math/gmp \
		libmpfr.so:math/mpfr

USES=		cmake
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static
USE_GITHUB=	yes
GH_ACCOUNT=	wbhart
GH_TAGNAME=	2baa9bc
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS

.include <bsd.port.mk>