Since thrust is a header-only library, one would expect it to be installed under /usr/local/include(/thrust) rather than directly under /usr/local(/thrust). This would allow existing software that #include <thrust/whatever> to find it simply by having the typical -I/usr/local/include in their search path.
Thanks for your report! Fix is committed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2392fd13a65ce50df5374871142c68710ae90190 commit 2392fd13a65ce50df5374871142c68710ae90190 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-23 06:46:43 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-23 06:48:16 +0000 devel/thrust: Move include files under include/ PR: 265398 Reported by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> devel/thrust/files/patch-CMakeLists.txt | 13 +- devel/thrust/pkg-plist | 1779 +++++++++++++++---------------- 2 files changed, 901 insertions(+), 891 deletions(-)
A commit in branch 2022Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0430463db99d21674d158f70e18a6dcda1be0d8d commit 0430463db99d21674d158f70e18a6dcda1be0d8d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-23 06:46:43 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-23 06:48:45 +0000 devel/thrust: Move include files under include/ PR: 265398 Reported by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> (cherry picked from commit 2392fd13a65ce50df5374871142c68710ae90190) devel/thrust/files/patch-CMakeLists.txt | 13 +- devel/thrust/pkg-plist | 1779 +++++++++++++++---------------- 2 files changed, 901 insertions(+), 891 deletions(-)