openbsd-ports/math/ocaml-num/Makefile
chrisz 2dd0fda6b6 Update OCaml to 4.09
reviewed ports wise and help with @pkgpath, ok by sthen@
reviewed and help with bytecode-only plists, minor nits and ok by jca@
tested on sparc 64 by @jca
tested on aarch64 by Kurt Miller
tested on amd64 by me

Thanks for reviews and testing!
2019-09-26 09:46:09 +00:00

40 lines
833 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/09/26 09:46:10 chrisz Exp $
COMMENT = library for arithmetic on big integers and rationals
CATEGORIES = math
V = 1.1
REVISION = 1
GH_ACCOUNT = ocaml
GH_PROJECT = num
#GH_TAGNAME = v${V}
# This commit includes a necessary fix for installing via findlib.
# XXX: Switch back to GH_TAGNAME on next update
GH_COMMIT = 7dd5e935aaa2b902585b3b2d0e55ad9b2442fff0
DISTNAME = ${GH_PROJECT}-${V}
PKGNAME = ocaml-${DISTNAME}
HOMEPAGE = https://github.com/ocaml/num/
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
# LGPL 2.1
PERMIT_PACKAGE = Yes
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>