Date: Fri, 6 Dec 2013 11:06:59 -0500 From: Vick Khera <vivek@khera.org> To: FreeBSD Ports List <ports@freebsd.org> Subject: how to install into staging area correctly? Message-ID: <CALd%2BdceYa7M3XzjZthGDE-%2BsBXO_rdaV3NeWuf08t65EN21eCQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 found when building the package for that process. I changed it to do-install: ${CP} /dev/null ${STAGEDIR}${LOCALBASE}/etc/rwde-base-installed Is this safe to use ${STAGEDIR} unconditionally like this? Should I be using a different variable to install my file in the do-install step?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALd%2BdceYa7M3XzjZthGDE-%2BsBXO_rdaV3NeWuf08t65EN21eCQ>