Use a custom "do-extract" stage, such as in archivers/libarchive, and use cp or pax to copy the files from FILESDIR to WRKSRC
I am writing a package that distributes a set of distfiles that should only be copied to WRKSRC not uncompressed. Some of these are *.jar files, but some are *.gz files that would normally be uncompressed, which is incorrect.
If I am using it correctly, EXTRACT_ONLY is not solving the problem and I’m not having luck with EXTRACT_CMD, perhaps because I am not really sure how to specify it. I’m not seeing anything helpful in the guide, either.
If anyone has a solution for how to copy all the distfiles, I would appreciate it.
Thanks.
Cheers,
Brook