mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
c548cd43e8
- Bump PORTREVISION of dependent ports for shlib change Changes: https://portal.hdfgroup.org/display/support/HDF5%201.10.2#releasenotes https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt PR: 231009 Exp-run by: antoine
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ambit
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2-37
|
|
DISTVERSIONSUFFIX= -g9c7049a
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ library for tensor product calculations
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
|
libsz.so:science/szip
|
|
|
|
USES= cmake:outsource compiler:c++11-lang
|
|
USE_GCC= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jturney
|
|
|
|
# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
|
|
CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
|
|
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package
|
|
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
|
|
# It requires clang version >3.6
|
|
BUILD_DEPENDS+= clang60:devel/llvm60
|
|
RUN_DEPENDS+= clang60:devel/llvm60
|
|
CC= clang60
|
|
CXX= clang++60
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|