summaryrefslogtreecommitdiff
path: root/math/cmh/Makefile
blob: cf93dd265dcf2572b222e06e107646f60b9c2411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	cmh
DISTVERSION=	1.1.1
PORTREVISION=	3
CATEGORIES=	math
MASTER_SITES=	http://www.multiprecision.org/downloads/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Compute Igusa class polynomials
WWW=		https://www.multiprecision.org/cmh/home.html

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfplll.so:math/fplll \
		libgmp.so:math/gmp \
		libmpc.so:math/mpc \
		libmpfr.so:math/mpfr \
		libmpfrcx.so:math/mpfrcx \
		libpari.so:math/pari
RUN_DEPENDS=	bash:shells/bash
TEST_DEPENDS=	bash:shells/bash

USES=		autoreconf gmake libtool localbase shebangfix
USE_LDCONFIG=	yes

SHEBANG_FILES=	scripts/cmh-classpol.sh.in
SHEBANG_GLOB=	*.sh

GNU_CONFIGURE=	yes

INSTALL_TARGET=	install-strip
TEST_TARGET=	check # tests fail, see https://gitlab.inria.fr/cmh/cmh/-/issues/1

.include <bsd.port.mk>