aboutsummaryrefslogtreecommitdiffstats
path: root/math/ocaml-num/Makefile
blob: a9b4ef234367ee3af04ac789f154d7d0a82d6f85 (plain) (blame)
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
PORTNAME=	num
PORTVERSION=	1.4
DISTVERSIONPREFIX=	v
PORTREVISION=	3
CATEGORIES=	math
PKGNAMEPREFIX=	ocaml-

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Legacy library for arbitrary-precision arithmetic
WWW=		https://github.com/ocaml/num

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake ocaml
USE_GITHUB=	yes
GH_ACCOUNT=	ocaml

MAKE_ENV=	OCAMLFIND_DESTDIR="${STAGEDIR}${OCAMLFIND_DESTDIR}"
MAKE_JOBS_UNSAFE=	yes
TEST_TARGET=	test

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc
LLD_UNSAFE=	yes
.endif

.include <bsd.port.mk>