2018-07-11 15:10:47 +00:00
|
|
|
COMMENT = library for arithmetic on big integers and rationals
|
|
|
|
CATEGORIES = math
|
|
|
|
|
2020-11-22 21:30:15 +00:00
|
|
|
V = 1.4
|
2020-10-07 12:34:24 +00:00
|
|
|
|
2018-07-11 15:10:47 +00:00
|
|
|
GH_ACCOUNT = ocaml
|
|
|
|
GH_PROJECT = num
|
2020-10-07 12:34:24 +00:00
|
|
|
GH_TAGNAME = v${V}
|
2018-07-11 15:10:47 +00:00
|
|
|
DISTNAME = ${GH_PROJECT}-${V}
|
|
|
|
PKGNAME = ocaml-${DISTNAME}
|
|
|
|
HOMEPAGE = https://github.com/ocaml/num/
|
2021-12-10 04:10:59 +00:00
|
|
|
REVISION = 1
|
2018-07-11 15:10:47 +00:00
|
|
|
|
|
|
|
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
|
|
|
|
|
|
|
|
|
|
|
|
# LGPL 2.1
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2018-07-11 15:10:47 +00:00
|
|
|
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
|
|
|
|
BUILD_DEPENDS = sysutils/findlib
|
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
.if ${PROPERTIES:Mocaml_native}
|
|
|
|
MAKE_ENV = NATIVE=true
|
|
|
|
.else
|
|
|
|
MAKE_ENV = NATIVE=false
|
|
|
|
.endif
|
|
|
|
|
|
|
|
INSTALL_TARGET = findlib-install
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|