freebsd-ports/math/ambit/Makefile
Po-Chuan Hsieh 328ae40742
*/*: Replace science/szip with science/libaec
- Bump PORTREVISION of dependent ports for dependency change

szip does not allow redistribution in binary form without proper commercial
license. Its LICENSE_PERMS should be set to no-auto-accept which blocks building
this port, therefore building dependent ports are also blocked. Switch all
dependent ports to science/libaec to avoid conflicts and license issue.

PR:		228743, 246097, 250165
2022-06-16 23:13:01 +08:00

29 lines
748 B
Makefile

PORTNAME= ambit
DISTVERSIONPREFIX= v
DISTVERSION= 0.6
PORTREVISION= 1
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 \
libopenblas.so:math/openblas \
libsz.so:science/libaec
USES= cmake:testing compiler:c++11-lang python:build
USE_LDCONFIG= 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_ON= SHARED_ONLY ENABLE_OPENMP
CMAKE_OFF= ENABLE_TESTS # https://github.com/jturney/ambit/issues/24
CMAKE_TESTING_ON= ENABLE_TESTS
.include <bsd.port.mk>