1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/science/cgnslib/Makefile
Sunpoet Po-Chuan Hsieh 91c3078096 Update science/hdf5 to 1.10.4
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://portal.hdfgroup.org/display/support/HDF5%201.10.4#releasenotes
PR:		233070
Submitted by:	wen
2019-01-05 22:46:53 +00:00

57 lines
1.4 KiB
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= cgnslib
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= science
MAINTAINER= thierry@FreeBSD.org
COMMENT= CFD General Notation System library code
LICENSE= AS-IS
LICENSE_NAME= AS-IS
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= CGNS
GH_PROJECT= CGNS
USE_LDCONFIG= yes
OPTIONS_DEFINE= HDF5 TESTS TOOLS
OPTIONS_DEFAULT= HDF5 TESTS TOOLS
OPTIONS_SUB= yes
HDF5_DESC= Enable HDF5 interface
TESTS_DESC= Enable test programs
TOOLS_DESC= Build the CGNSTools package
SZIP_DESC= SZIP support in HDF5
HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 libsz.so:science/szip
HDF5_CMAKE_BOOL= CGNS_ENABLE_HDF5
HDF5_CMAKE_ON= -DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include"
TESTS_USES= fortran
TESTS_CMAKE_BOOL= ENABLE_TESTS CGNS_ENABLE_FORTRAN
TOOLS_USES= gl localbase tk
TOOLS_USE= GL=gl,glu XORG=x11,xmu
TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS
TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \
-DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}"
do-test-TESTS-on:
.for pg in cgwrite cgread test_partial
@(cd ${BUILD_WRKSRC}/src/tests; ./${pg})
.endfor
post-install:
${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${DISTVERSION:R} \
${STAGEDIR}${PREFIX}/lib/libcgns.so.${DISTVERSION:R:R}
.include <bsd.port.mk>