Created attachment 196417 [details] gmt5 GMT have two branches GMT4 (graphics/gmt) and GMT5 (this new port) GMT is an open source collection of ~130 tools for manipulating geographic and Cartesian data sets and producing PostScript illustrations ranging from simple x-y plots via contour maps to artificially illuminated surfaces and 3D perspective views. I've patched gmt5 to not conflicts with gmt. Thanks to holishing.
I used "poudriere" to compile gmt5 and pass the build. but when I run "gmt" command, it shows that: == gmt: Error: Could not locate share directory that matches the current GMT version 5.4.4. == when I use truss to trace the signal, it shows that: == access("/usr/local//usr/local/share/gmt5",X_OK|R_OK) ERR#2 'No such file or directory' gmt: Error: Could not locate share directory that matches the current GMT version 5.4.4. write(2,"gmt: Error: Could not locate sha"...,89) = 89 (0x59) == I'm not sure that it is due to Makefile in ports or poudriere behavior, lately I'll try directly use "make install clean" to test build again and try figure out the exact reason.
Created attachment 196465 [details] gmt5: remove prefix
(In reply to holishing from comment #1) Thanks, I removed the prefix. It was duplicated.
(In reply to lbartoletti from comment #3) Thanks! This problem seems to be solved now. and I'll try if other features (including commands related to gshhg, dcw data) can be used later. It seems that gshhg, and dcw will not be installed in default option now: == gmt-config-gmt5 --gshhg --dcw gmtget: GSHHG version 2.2.0 or newer is needed to use coastlines with GMT. Get and install GSHHG from ftp://ftp.soest.hawaii.edu/gshhg/. DCW_PATH-NOTFOUND ==
Created attachment 196491 [details] GSHHG not found related log some truss log for reference. and there is no "coast/" data under "/usr/local/share/gmt5/" directory, either.
OK I understand. I think ghhgc and dcw should be separated ports and gmt5 depends on it
(In reply to lbartoletti from comment #6) Would you submit PR of it ? wen
I'm also trying seperate those 2 parts to another ports and let gmt5 depends on them, after anyone have done this and related path are also checked, maybe we can commit these new ports.
Then I hold this PR until the new ports created ? wen
Created attachment 198089 [details] gmt5 dcw
Created attachment 198090 [details] gmt5 gshhg
Created attachment 198091 [details] gmt5
I have a problem with poudriere for PORTDOCS, don't know why... two ports are created. Can you try it?
(In reply to lbartoletti from comment #13) Remove all the %%PORTDOCS%%%%DOCSDIR%% lines in pkg-plist will resolv it. wen
(In reply to wen from comment #14) Yes, sure. But if you run poudriere -i, docs are present in the tree.
(In reply to lbartoletti from comment #15) We should s/%%PORTDOCS%%%%DOCSDIR%%/%%DOCSDIR%%/g. Would you test again ? wen
Created attachment 198485 [details] gmt5 remove PORTDOCS
A commit references this bug: Author: wen Date: Tue Oct 23 10:54:10 UTC 2018 New revision: 482826 URL: https://svnweb.freebsd.org/changeset/ports/482826 Log: The Digital Chart of the World (DCW) is a comprehensive 1:1,000,000 scale vector basemap of the world. The charts were designed to meet the needs of pilots and air crews in medium-and low-altitude en route navigation and to support military operational planning, intelligence briefings, and other needs. WWW: http://www.soest.hawaii.edu/wessel/dcw/ PR: 230799 Submitted by: lbartoletti@tuxfamily.org Changes: head/graphics/Makefile head/graphics/gmt5-dcw/ head/graphics/gmt5-dcw/Makefile head/graphics/gmt5-dcw/distinfo head/graphics/gmt5-dcw/pkg-descr head/graphics/gmt5-dcw/pkg-plist
A commit references this bug: Author: wen Date: Tue Oct 23 10:57:17 UTC 2018 New revision: 482828 URL: https://svnweb.freebsd.org/changeset/ports/482828 Log: We present a high-resolution geography data set amalgamated from three data bases in the public domain: World Vector Shorelines (WVS). CIA World Data Bank II (WDBII). Atlas of the Cryosphere (AC). WWW: http://www.soest.hawaii.edu/wessel/gshhg/ PR: 230799 Submitted by: lbartoletti@tuxfamily.org Changes: head/graphics/Makefile head/graphics/gmt5-gshhg/ head/graphics/gmt5-gshhg/Makefile head/graphics/gmt5-gshhg/distinfo head/graphics/gmt5-gshhg/pkg-descr head/graphics/gmt5-gshhg/pkg-plist
A commit references this bug: Author: wen Date: Tue Oct 23 11:00:21 UTC 2018 New revision: 482829 URL: https://svnweb.freebsd.org/changeset/ports/482829 Log: - Repocopy gmt --> gmt5 and update to 5.4.4 PR: 230799 Submitted by: lbartoletti@tuxfamily.org(maintainer) Changes: head/graphics/Makefile head/graphics/gmt5/ head/graphics/gmt5/Makefile head/graphics/gmt5/distinfo head/graphics/gmt5/files/patch-configure.ac head/graphics/gmt5/files/patch-src-gmt_io.c head/graphics/gmt5/files/patch-src-gmtmath.c head/graphics/gmt5/files/patch-src-grdmath.c head/graphics/gmt5/files/patch-src-misc-gmtdigitize.c head/graphics/gmt5/files/patch-src_CMakeLists.txt head/graphics/gmt5/files/patch-src_common__string.h head/graphics/gmt5/pkg-descr head/graphics/gmt5/pkg-plist