Lines 1-6
Link Here
|
1 |
PORTNAME= gmt |
1 |
PORTNAME= gmt |
2 |
DISTVERSION= 6.3.0 |
2 |
DISTVERSION= 6.3.0 |
3 |
CATEGORIES= graphics |
3 |
CATEGORIES= graphics |
|
|
4 |
MASTER_SITES= https://github.com/GenericMappingTools/${PORTNAME}/releases/download/${DISTVERSION}/ |
5 |
DISTNAME= ${PORTNAME}-${DISTVERSION}-src |
4 |
|
6 |
|
5 |
MAINTAINER= lbartoletti@FreeBSD.org |
7 |
MAINTAINER= lbartoletti@FreeBSD.org |
6 |
COMMENT= Generic Mapping Tools - data processing and display software package |
8 |
COMMENT= Generic Mapping Tools - data processing and display software package |
Lines 11-17
LICENSE_COMB= multi
Link Here
|
11 |
LIB_DEPENDS= libnetcdf.so:science/netcdf \ |
13 |
LIB_DEPENDS= libnetcdf.so:science/netcdf \ |
12 |
libcurl.so:ftp/curl \ |
14 |
libcurl.so:ftp/curl \ |
13 |
libpcre2-8.so:devel/pcre2 \ |
15 |
libpcre2-8.so:devel/pcre2 \ |
14 |
libfftw3f_threads.so:math/fftw3-float \ |
|
|
15 |
libgdal.so:graphics/gdal \ |
16 |
libgdal.so:graphics/gdal \ |
16 |
libgeos.so:graphics/geos |
17 |
libgeos.so:graphics/geos |
17 |
RUN_DEPENDS= bash:shells/bash \ |
18 |
RUN_DEPENDS= bash:shells/bash \ |
Lines 22-39
RUN_DEPENDS= bash:shells/bash \
Link Here
|
22 |
BUILD_DEPENDS= ${LOCALBASE}/share/dcw-gmt/dcw-gmt.nc:graphics/gmt-dcw \ |
23 |
BUILD_DEPENDS= ${LOCALBASE}/share/dcw-gmt/dcw-gmt.nc:graphics/gmt-dcw \ |
23 |
${LOCALBASE}/share/gshhg-gmt/binned_GSHHS_c.nc:graphics/gmt-gshhg |
24 |
${LOCALBASE}/share/gshhg-gmt/binned_GSHHS_c.nc:graphics/gmt-gshhg |
24 |
|
25 |
|
25 |
USES= blaslapack cmake ghostscript:run shebangfix |
26 |
USES= blaslapack cmake ghostscript:run shebangfix tar:xz |
26 |
USE_GITHUB= yes |
|
|
27 |
USE_LDCONFIG= yes |
27 |
USE_LDCONFIG= yes |
28 |
|
28 |
|
29 |
GH_ACCOUNT= GenericMappingTools |
29 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} |
30 |
|
30 |
|
31 |
#SHEBANG_GLOB= *.sh *.in |
31 |
#SHEBANG_GLOB= *.sh *.in |
32 |
#SHEBANG_FILES= share/tools/ncdeflate src/img/img2google src/gmtswitch |
32 |
#SHEBANG_FILES= share/tools/ncdeflate src/img/img2google src/gmtswitch |
33 |
|
33 |
|
34 |
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
34 |
CMAKE_ARGS+= -DDCW_ROOT=${LOCALBASE}/share/dcw-gmt \ |
35 |
-DCMAKE_INSTALL_PREFIX=${PREFIX} \ |
|
|
36 |
-DDCW_ROOT=${LOCALBASE}/share/dcw-gmt \ |
37 |
-DCOPY_DCW=off \ |
35 |
-DCOPY_DCW=off \ |
38 |
-DGSHHG_ROOT=${LOCALBASE}/share/gshhg-gmt \ |
36 |
-DGSHHG_ROOT=${LOCALBASE}/share/gshhg-gmt \ |
39 |
-DCOPY_GSHHG=off \ |
37 |
-DCOPY_GSHHG=off \ |