aboutsummaryrefslogtreecommitdiff
path: root/science/libvdwxc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-05-18 05:40:31 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-05-18 05:40:31 +0000
commitb399938765cf4713ea5c7518dcc6460feac6c72e (patch)
tree101a30c4eb8537dc0ac35cbac4c506c8a27d0b1b /science/libvdwxc
parent24d1604d7ddbe50b994146cecf9f906b268ebb3f (diff)
downloadports-b399938765cf4713ea5c7518dcc6460feac6c72e.tar.gz
ports-b399938765cf4713ea5c7518dcc6460feac6c72e.zip
New port: science/libvdwxc: Van der Waals density functional (DFT) library
Notes
Notes: svn path=/head/; revision=501901
Diffstat (limited to 'science/libvdwxc')
-rw-r--r--science/libvdwxc/Makefile25
-rw-r--r--science/libvdwxc/distinfo3
-rw-r--r--science/libvdwxc/pkg-descr7
-rw-r--r--science/libvdwxc/pkg-plist15
4 files changed, 50 insertions, 0 deletions
diff --git a/science/libvdwxc/Makefile b/science/libvdwxc/Makefile
new file mode 100644
index 000000000000..e5dda84e8e03
--- /dev/null
+++ b/science/libvdwxc/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= libvdwxc
+DISTVERSION= 0.4.6.20190510
+CATEGORIES= science
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Van der Waals density functional (DFT) library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libfftw3.so:math/fftw3
+
+USES= autoreconf gmake libtool localbase
+GNU_CONFIGURE= yes
+USE_GITLAB= yes
+GL_COMMIT= b1e0dd854310410012d05daf4c6661b49f31b2ab
+CONFIGURE_ARGS= --disable-static
+USE_LDCONFIG= yes
+
+post-stage:
+ @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} lib/libvdwxc.so.0.0.0 lib/libvdwxcfort.so.0.0.0
+
+.include <bsd.port.mk>
diff --git a/science/libvdwxc/distinfo b/science/libvdwxc/distinfo
new file mode 100644
index 000000000000..d9d6c0eca5fc
--- /dev/null
+++ b/science/libvdwxc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558157006
+SHA256 (libvdwxc-libvdwxc-b1e0dd854310410012d05daf4c6661b49f31b2ab_GL0.tar.gz) = 4d52f51b6fa3ea643a5c24a06038eba71d9ff0f30f87649e7753351673ea1e48
+SIZE (libvdwxc-libvdwxc-b1e0dd854310410012d05daf4c6661b49f31b2ab_GL0.tar.gz) = 7197581
diff --git a/science/libvdwxc/pkg-descr b/science/libvdwxc/pkg-descr
new file mode 100644
index 000000000000..285bcf1bc298
--- /dev/null
+++ b/science/libvdwxc/pkg-descr
@@ -0,0 +1,7 @@
+libvdwxc is a library of density functionals, which can be linked by density
+functional theory (DFT) codes, to enable the calculation of exchange and
+correlation energies for van der Waals density functionals (vdW-DF). libvdwxc
+evaluates correlation energy and potential using a convolution in Fourier space
+using the method by Roman-Perez and Soler.
+
+WWW: https://libvdwxc.org/
diff --git a/science/libvdwxc/pkg-plist b/science/libvdwxc/pkg-plist
new file mode 100644
index 000000000000..913a024eb468
--- /dev/null
+++ b/science/libvdwxc/pkg-plist
@@ -0,0 +1,15 @@
+bin/libvdwxc_fdtest
+bin/libvdwxc_info
+bin/libvdwxc_maintest
+bin/libvdwxc_q0test
+bin/libvdwxc_q0test2
+include/vdwxc.h
+include/vdwxc_mpi.h
+include/vdwxcfort.f90
+lib/libvdwxc.so
+lib/libvdwxc.so.0
+lib/libvdwxc.so.0.0.0
+lib/libvdwxcfort.so
+lib/libvdwxcfort.so.0
+lib/libvdwxcfort.so.0.0.0
+libdata/pkgconfig/libvdwxc.pc