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
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{
"name": "Gmt",
"description": "Tools for processing and displaying xy and xyz datasets",
"url": "ftp://ftp.soest.hawaii.edu/gmt/gmt-5.4.5-src.tar.gz",
"mirror": "https://mirrors.ustc.edu.cn/gmt/gmt-5.4.5-src.tar.xz",
"homepage": "https://gmt.soest.hawaii.edu/",
"depends": [
{
"depend": "cmake",
"build-depend": true
},
{
"depend": "fftw",
"build-depend": false
},
{
"depend": "gdal",
"build-depend": false
},
{
"depend": "netcdf",
"build-depend": false
},
{
"depend": "pcre",
"build-depend": false
}
],
"resource": [
{
"name": "gshhg",
"url": "ftp://ftp.soest.hawaii.edu/gmt/gshhg-gmt-2.3.7.tar.gz"
},
{
"name": "dcw",
"url": "ftp://ftp.soest.hawaii.edu/gmt/dcw-gmt-1.1.4.tar.gz"
}
],
"conflicts": [],
"patches": [],
"install": [
"(buildpath/\"gshhg\").install resource(\"gshhg\")",
"(buildpath/\"dcw\").install resource(\"dcw\")",
"args = std_cmake_args.concat %W[",
"-DCMAKE_INSTALL_PREFIX=#{prefix}",
"-DGMT_DOCDIR=#{share}/doc/gmt",
"-DGMT_MANDIR=#{man}",
"-DGSHHG_ROOT=#{buildpath}/gshhg",
"-DCOPY_GSHHG:BOOL=TRUE",
"-DDCW_ROOT=#{buildpath}/dcw",
"-DCOPY_DCW:BOOL=TRUE",
"-DFFTW3_ROOT=#{Formula[\"fftw\"].opt_prefix}",
"-DGDAL_ROOT=#{Formula[\"gdal\"].opt_prefix}",
"-DNETCDF_ROOT=#{Formula[\"netcdf\"].opt_prefix}",
"-DPCRE_ROOT=#{Formula[\"pcre\"].opt_prefix}",
"-DFLOCK:BOOL=TRUE",
"-DGMT_INSTALL_MODULE_LINKS:BOOL=TRUE",
"-DGMT_INSTALL_TRADITIONAL_FOLDERNAMES:BOOL=FALSE",
"-DLICENSE_RESTRICTED:BOOL=FALSE",
"]",
"mkdir \"build\" do",
"system \"cmake\", \"..\", *args",
"system \"make\", \"install\""
],
"version": "5.4.5",
"file": "gmt.rb"
}
|