summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/libcerf/DESCR12
-rw-r--r--devel/libcerf/Makefile19
-rw-r--r--devel/libcerf/PLIST21
-rw-r--r--devel/libcerf/buildlink3.mk12
-rw-r--r--devel/libcerf/distinfo6
5 files changed, 70 insertions, 0 deletions
diff --git a/devel/libcerf/DESCR b/devel/libcerf/DESCR
new file mode 100644
index 00000000000..b5f43118f2f
--- /dev/null
+++ b/devel/libcerf/DESCR
@@ -0,0 +1,12 @@
+This is libcerf, a self-contained numeric library that provides an
+efficient and accurate implementation of complex error functions,
+along with Dawson, Faddeeva, and Voigt functions.
+
+On current GNU/Linux systems, the man page complex(7) has a "see
+also" section that lists complex mathematical functions like cabs(3),
+cacos(3), and so on. Among them, there is a complex error function.
+However, its manual page cerf(3) describes the functions cerf and
+cerfc as "unimplemented" and "reserved for future use". The present
+library libcerf provides the missing implementation, along with a
+related functions. It comes with a set of man pages, including a
+page cerf(3) that overwrites the standard one.
diff --git a/devel/libcerf/Makefile b/devel/libcerf/Makefile
new file mode 100644
index 00000000000..4cfe572fb20
--- /dev/null
+++ b/devel/libcerf/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2015/10/28 19:00:58 wiz Exp $
+
+DISTNAME= libcerf-1.4
+CATEGORIES= math
+MASTER_SITES= http://apps.jcns.fz-juelich.de/src/libcerf/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.0rg
+HOMEPAGE= http://apps.jcns.fz-juelich.de/doku/sc/libcerf
+COMMENT= Library providing efficient and accurate complex error functions
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= perl:build gmake pkg-config
+
+PKGCONFIG_OVERRIDE+= libcerf.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libcerf/PLIST b/devel/libcerf/PLIST
new file mode 100644
index 00000000000..c28ef9750d1
--- /dev/null
+++ b/devel/libcerf/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2015/10/28 19:00:58 wiz Exp $
+include/cerf.h
+lib/libcerf.la
+lib/pkgconfig/libcerf.pc
+man/man3/cdawson.3
+man/man3/cerf.3
+man/man3/cerfc.3
+man/man3/cerfcx.3
+man/man3/cerfi.3
+man/man3/dawson.3
+man/man3/erfcx.3
+man/man3/erfi.3
+man/man3/im_w_of_x.3
+man/man3/voigt.3
+man/man3/w_of_z.3
+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
diff --git a/devel/libcerf/buildlink3.mk b/devel/libcerf/buildlink3.mk
new file mode 100644
index 00000000000..b1e6cfeec10
--- /dev/null
+++ b/devel/libcerf/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/10/28 19:00:58 wiz Exp $
+
+BUILDLINK_TREE+= libcerf
+
+.if !defined(LIBCERF_BUILDLINK3_MK)
+LIBCERF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcerf+= libcerf>=1.4
+BUILDLINK_PKGSRCDIR.libcerf?= ../../devel/libcerf
+.endif # LIBCERF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libcerf
diff --git a/devel/libcerf/distinfo b/devel/libcerf/distinfo
new file mode 100644
index 00000000000..f21ad08b7f1
--- /dev/null
+++ b/devel/libcerf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/10/28 19:00:58 wiz Exp $
+
+SHA1 (libcerf-1.4.tgz) = 527c08a02ae51b7db7fef33545fa98e7e3a622d9
+RMD160 (libcerf-1.4.tgz) = d90dd82fd0561e0070dbf736b268a5b1e8d1a148
+SHA512 (libcerf-1.4.tgz) = 93d7b03898c0f88e436947b204db7fb5097dc901928aedde48bf0a04552e1c041fdfcdbe6318fdc21508e1349b6c205f557660550e72d6e86b078d9d0dde0faa
+Size (libcerf-1.4.tgz) = 386065 bytes