freebsd-ports/science/qmcpack/Makefile
Steve Wills fb44dca45d Fix math/openblas and bump dependent ports
* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
2020-01-30 14:17:44 +00:00

41 lines
982 B
Makefile

# $FreeBSD$
PORTNAME= qmcpack
DISTVERSIONPREFIX= v
DISTVERSION= 3.8.0
PORTREVISION= 4
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Many-body ab initio Quantum Monte Carlo code for quantum chemstry
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= undefined reference to `__atomic_load'
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libfftw3.so:math/fftw3 \
libhdf5.so:science/hdf5 \
libmpich.so:net/mpich \
libomp.so:devel/openmp \
libopenblas.so:math/openblas \
libsz.so:science/szip
USES= cmake compiler:c++11-lang fortran gnome localbase:ldflags pkgconfig python:build
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
USE_GNOME= libxml2
PROGS= convert4qmc qmc-check-affinity qmc-extract-eshdf-kvectors qmc-get-supercell qmcpack
PLIST_FILES= ${PROGS:C/^/bin\//}
BINARY_ALIAS= python=${PYTHON_CMD}
do-install:
.for p in ${PROGS}
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${p} ${STAGEDIR}${PREFIX}/bin
.endfor
.include <bsd.port.mk>