Import math/libcerf providing implementation of complex error functions

Self-contained numeric library that provides an efficient and accurate
implementation of complex error functions, along with Dawson, Faddeeva,
and Voigt functions.

OK steven@, feinerer@.
This commit is contained in:
pirofti 2017-11-04 11:50:52 +00:00
parent c3f25bcaea
commit d61de36284
4 changed files with 57 additions and 0 deletions

28
math/libcerf/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/04 11:50:52 pirofti Exp $
COMMENT = implementation of complex error functions
V = 1.5
DISTNAME = libcerf-${V}
EXTRACT_SUFX = .tgz
CATEGORIES = math
MASTER_SITES = http://apps.jcns.fz-juelich.de/src/libcerf/
SHARED_LIBS += cerf 0.0 # 1.5
HOMEPAGE = http://apps.jcns.fz-juelich.de/doku/sc/libcerf
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m ${COMPILER_LIBCXX}
COMPILER = ports-gcc # imaginary constants are a GNU extension
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

2
math/libcerf/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libcerf-1.5.tgz) = 423BR+f/+BFDB0ohVQwlm1qsG5n8MU/ArjMpQjHKXIY=
SIZE (libcerf-1.5.tgz) = 413926

3
math/libcerf/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Self-contained numeric library that provides an efficient and accurate
implementation of complex error functions, along with Dawson, Faddeeva,
and Voigt functions.

24
math/libcerf/pkg/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/04 11:50:52 pirofti Exp $
include/cerf.h
lib/libcerf.a
lib/libcerf.la
@lib lib/libcerf.so.${LIBcerf_VERSION}
lib/pkgconfig/libcerf.pc
@man man/man3/cdawson.3
@man man/man3/cerf.3
@man man/man3/cerfc.3
@man man/man3/cerfcx.3
@man man/man3/cerfi.3
@man man/man3/dawson.3
@man man/man3/erfcx.3
@man man/man3/erfi.3
@man man/man3/im_w_of_x.3
@man man/man3/voigt.3
@man man/man3/w_of_z.3
share/doc/libcerf/
share/doc/libcerf/cerf.html
share/doc/libcerf/dawson.html
share/doc/libcerf/erfcx.html
share/doc/libcerf/erfi.html
share/doc/libcerf/voigt.html
share/doc/libcerf/w_of_z.html