blob: 0a60d06e68513c99dc2b268ac4a83bb59694aaa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= cgnslib
DISTVERSIONPREFIX= v
DISTVERSION= 3.4.0
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
TEST_TARGET= test
OPTIONS_DEFINE= FORTRAN HDF5 TESTS TOOLS
OPTIONS_DEFAULT= FORTRAN HDF5 TESTS TOOLS
OPTIONS_SUB= yes
HDF5_DESC= Enable HDF5 interface
TESTS_DESC= Enable test programs
TOOLS_DESC= Build the CGNSTools package
FORTRAN_USES= fortran
FORTRAN_CMAKE_BOOL= CGNS_ENABLE_FORTRAN
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_CMAKE_BOOL= CGNS_ENABLE_TESTS
TOOLS_USES= gl localbase tk
TOOLS_USE= GL=gl,glu XORG=ice,xext,x11,xmu
TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS
TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \
-DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}"
post-install:
${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${DISTVERSION:R} \
${STAGEDIR}${PREFIX}/lib/libcgns.so.${DISTVERSION:R:R}
.include <bsd.port.mk>
|