how to install into staging area correctly?

2013-12-06 Thread Vick Khera
I have a port locally that does this to install a file so other ports that depend on this can have something to depend on from the file system. do-install: ${CP} /dev/null ${LOCALBASE}/etc/rwde-base-installed Lately it seems that the ports does a staging step, and the above file is not

Re: how to install into staging area correctly?

2013-12-06 Thread Michael Gmelin
On Fri, 6 Dec 2013 11:06:59 -0500 Vick Khera vi...@khera.org wrote: I have a port locally that does this to install a file so other ports that depend on this can have something to depend on from the file system. do-install: ${CP} /dev/null ${LOCALBASE}/etc/rwde-base-installed

Re: how to install into staging area correctly?

2013-12-06 Thread Vick Khera
On Fri, Dec 6, 2013 at 11:30 AM, Michael Gmelin free...@grem.de wrote: I think you should use ${STAGEDIR}${PREFIX}, not ${LOCALBASE}. Thanks. that makes more sense. ___ freebsd-ports@freebsd.org mailing list

Re: how to install into staging area correctly?

2013-12-06 Thread Guido Falsi
On 12/06/13 17:38, Vick Khera wrote: On Fri, Dec 6, 2013 at 11:30 AM, Michael Gmelin free...@grem.de wrote: I think you should use ${STAGEDIR}${PREFIX}, not ${LOCALBASE}. Thanks. that makes more sense. Also, instead of ${CP} you should use the INSTALL_ macros:

Re: how to install into staging area correctly?

2013-12-06 Thread Max Brazhnikov
On Fri, 06 Dec 2013 11:06:59 -0500 Vick Khera wrote: I have a port locally that does this to install a file so other ports that depend on this can have something to depend on from the file system. You don't need any file, ports can depend on pkgname [1]: