aboutsummaryrefslogtreecommitdiffstats
path: root/science/qmcpack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/qmcpack/Makefile')
-rw-r--r--science/qmcpack/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/science/qmcpack/Makefile b/science/qmcpack/Makefile
new file mode 100644
index 000000000000..ba32002f0d1b
--- /dev/null
+++ b/science/qmcpack/Makefile
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= qmcpack
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.5.0
+CATEGORIES= science
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Many-body ab initio Quantum Monte Carlo code for quantum chemstry
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libboost_system.so:devel/boost-libs \
+ libfftw3.so:math/fftw3 \
+ libhdf5.so:science/hdf5 \
+ libmpich.so:net/mpich2 \
+ libomp.so:devel/openmp \
+ libopenblas.so:math/openblas \
+ libsz.so:science/szip
+
+USES= cmake:outsource compiler:c++11-lang fortran localbase:ldflags pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= ${PORTNAME:tu}
+USE_GNOME= libxml2
+
+PROGS= convert4qmc extract-eshdf-kvectors getSupercell qmcpack
+PLIST_FILES= ${PROGS:C/^/bin\//}
+
+do-install:
+.for p in ${PROGS}
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${p} ${STAGEDIR}${PREFIX}/bin
+.endfor
+
+.include <bsd.port.mk>