mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
334d5633c8
Update and bump cad/freecad (math/med's only consumer) accordingly. Reported by naddy@ and ok tb@
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
USE_NOBTCFI-aarch64 = Yes# fortran
|
|
|
|
COMMENT = library for reading and writing MED files
|
|
|
|
V = 5.0.0
|
|
PKGNAME = med-${V}
|
|
REVISION = 2
|
|
|
|
# Official sources site seems down:
|
|
# https://files.salome-platform.org/Salome/medfile/med-${V}.tar.bz2
|
|
# Use mirror in the meantime:
|
|
# https://github.com/chennes/med
|
|
DIST_TUPLE += github chennes med v${V} .
|
|
|
|
SHARED_LIBS += med 0.0 # 0.0
|
|
SHARED_LIBS += medC 0.0 # 0.0
|
|
SHARED_LIBS += medfwrap 0.0 # 0.0
|
|
SHARED_LIBS += medimport 0.0 # 0.0
|
|
|
|
CATEGORIES = math
|
|
HOMEPAGE = https://www.salome-platform.org/
|
|
MAINTAINER = Johannes Thyssen Tishman <jtt@openbsd.org>
|
|
|
|
# LGPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} c hdf5 m sz z
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
MODULES = devel/cmake \
|
|
fortran
|
|
|
|
LIB_DEPENDS = math/hdf5
|
|
|
|
CONFIGURE_ARGS = -DMEDFILE_BUILD_DOC=OFF \
|
|
-DMEDFILE_BUILD_FORTRAN=OFF \
|
|
-DMEDFILE_BUILD_PYTHON=OFF \
|
|
-DMEDFILE_BUILD_SHARED_LIBS=ON \
|
|
-DMEDFILE_BUILD_STATIC_LIBS=OFF \
|
|
-DMEDFILE_BUILD_TESTS=ON \
|
|
-DMEDFILE_INSTALL_DOC=OFF \
|
|
-DMEDFILE_USE_MPI=OFF \
|
|
-DMEDFILE_USE_UNICODE=ON
|
|
|
|
SUBST_VARS += V
|
|
|
|
# don't install old header and test binaries
|
|
post-install:
|
|
rm -r ${PREFIX}/include/2.3.6
|
|
rm -r ${PREFIX}/bin/test*
|
|
|
|
.include <bsd.port.mk>
|