6ecf5561f1
- Use CFLAGS and CXXFLAGS instead of CMAKE_CXX_FLAGS and CMAKE_C_FLAGS. - Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS - Fix broken builds with CMake 3.23
31 lines
662 B
Makefile
31 lines
662 B
Makefile
COMMENT = C++ library for scientific computing
|
|
DISTNAME = armadillo-9.900.4
|
|
SHARED_LIBS = armadillo 3.1 # 9.900.4
|
|
CATEGORIES = math
|
|
HOMEPAGE = http://arma.sourceforge.net/
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
|
REVISION = 0
|
|
|
|
# MPL v2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${COMPILER_LIBCXX} arpack blas hdf5 lapack m z gfortran
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=arma/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
MODULES += devel/cmake
|
|
|
|
LIB_DEPENDS += math/arpack \
|
|
math/hdf5
|
|
|
|
CONFIGURE_STYLE = cmake
|
|
CONFIGURE_ARGS += -DCMAKE_INSTALL_PREFIX=${PREFIX}
|
|
|
|
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|