Removing excessive files from staging directory

abi <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hello,

I'm porting a program that puts unnecessary stuff in the staging 
directory, for example

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: include/CxxUrl/string.hpp
Error: Orphaned: include/CxxUrl/url.hpp
Error: Orphaned: include/jwt-cpp/base.h
Error: Orphaned: include/jwt-cpp/jwt.h
Error: Orphaned: include/jwt-cpp/traits/boost-json/defaults.h
Error: Orphaned: include/jwt-cpp/traits/boost-json/traits.h
Error: Orphaned: include/jwt-cpp/traits/danielaparker-jsoncons/defaults.h
Error: Orphaned: include/jwt-cpp/traits/danielaparker-jsoncons/traits.h
Error: Orphaned: include/jwt-cpp/traits/defaults.h.mustache
Error: Orphaned: include/jwt-cpp/traits/kazuho-picojson/defaults.h
Error: Orphaned: include/jwt-cpp/traits/kazuho-picojson/traits.h
Error: Orphaned: include/jwt-cpp/traits/nlohmann-json/defaults.h
Error: Orphaned: include/jwt-cpp/traits/nlohmann-json/traits.h
Error: Orphaned: include/picojson/picojson.h
Error: Orphaned: lib/cmake/CxxUrl/CxxUrlConfig.cmake
Error: Orphaned: lib/cmake/CxxUrl/CxxUrlConfigVersion.cmake
Error: Orphaned: lib/cmake/CxxUrl/CxxUrlTargets-%%CMAKE_BUILD_TYPE%%.cmake
Error: Orphaned: lib/cmake/CxxUrl/CxxUrlTargets.cmake
Error: Orphaned: lib/libCxxUrl.a
Error: Orphaned: @dir cmake


What is the best way to deal with it?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.