Ravenports / ravenadm

Administration tool for Ravenports
http://www.ravenports.com
ISC License
17 stars 3 forks source link

Adding sub-directories to files/ #12

Closed tse-gratis closed 5 years ago

tse-gratis commented 5 years ago

To add new source files to a port, I'm placing them in the files/ directory

But I get the installation error: file INSTALL cannot find "/construction/zig/zig-0.4.0/std/c/dragonfly.zig"

I've tried using patch file semantics (std_c_dragonfly.zig), or sub-directories -- since the file should be placed in std/c/. But neither seem to work. What's the best way of getting files into sub-directories? Thanks

Note: I am following the wiki https://github.com/jrmarino/Ravenports/wiki/Chapter-7

jrmarino commented 5 years ago

Ravenadm doesn't consider /files a source directory. If you want to include a file as a source file (and you shouldn't go overboard with this), then you need a target such as "post-extract" to copy the file from FILESDIR to WRKSRC. There are several examples of this in the ravensource tree already.