bcallah ad7f8b7047 Import sysutils/cmb, a combinatorics library/utility from FreeBSD.
ok kn@

cmb is a combinatorics library/utility.

It is both a novel algorithm and the fastest implementation we have for
complex combinatorics. It is faster than python's itertools, faster than
numpy, faster than Perl, faster than Perl XS, faster than comb in R.

It is a port of cmb(1)/cmb(3) from FreeBSD.
2019-12-17 03:36:07 +00:00

25 lines
548 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/12/17 03:36:07 bcallah Exp $
COMMENT = combinatorics library/utility from FreeBSD
DISTNAME = cmb-3.9.5
CATEGORIES = sysutils
SHARED_LIBS += cmb 0.0 # 0.0
HOMEPAGE = https://github.com/ibara/cmb
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += c crypto m
MASTER_SITES = https://github.com/ibara/cmb/releases/download/${DISTNAME}/
NO_TEST = Yes
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/libcmb/cmb.h ${PREFIX}/include
.include <bsd.port.mk>