Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2018 16:48:00 +0200 (CEST)
From:      Marco Beishuizen <mbeis@xs4all.nl>
To:        freebsd-ports@freebsd.org
Subject:   pkg-plist and stage directory for new port
Message-ID:  <alpine.BSF.2.21.9999.1809141634380.2970@yokozuna.lan>

next in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.1809141634380.2970>