37 lines
656 B
Makefile
37 lines
656 B
Makefile
COMMENT = arbitrary precision integer and rational arithmetic
|
|
CATEGORIES = math
|
|
|
|
V = 1.12
|
|
GH_ACCOUNT = ocaml
|
|
GH_PROJECT = Zarith
|
|
GH_TAGNAME = release-${V}
|
|
DISTNAME = ${GH_PROJECT}-${V}
|
|
PKGNAME = ocaml-zarith-${V}
|
|
|
|
HOMEPAGE = https://github.com/ocaml/num/
|
|
|
|
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
|
|
|
|
|
|
# LGPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
BUILD_DEPENDS = sysutils/findlib
|
|
|
|
WANTLIB = gmp
|
|
LIB_DEPENDS = devel/gmp
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_STYLE = simple
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_ENV = MAKE="$(MAKE_PROGRAM)"
|
|
|
|
TEST_TARGET = tests
|
|
|
|
|
|
.include <bsd.port.mk>
|