pkg-plist and stage directory for new port

Marco Beishuizen mbeis at xs4all.nl
Fri Sep 14 14:49:10 UTC 2018


Hi,

In my quest for creating a new port (pgadmin4) I'm having a problem with 
creating a working pkg-plist. Seems to me that at least the created binary 
should be in the pkg-plist file, in my case "bin/pgAdmin4". But when I do 
that, make check-plist results in an error:

===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: bin/pgAdmin4
===> Error: Plist issues found.
*** Error code 1

Which is correct because the /stage directory is empty. I could remove the 
bin/pgAdmin4 line from the pkg-plist file but that doesn't seem right to 
me because then the created binary isn't installed at all I guess. Correct 
thing imo would be that the created binary is copied to the 
/stage/usr/local/bin directory.

So biggest question is why is the /stage directory still empty?

Thanks & regards,
Marco

-- 
QOTD:
 	"I sprinkled some baking powder over a couple of potatoes, but it
 	didn't work."


More information about the freebsd-ports mailing list