Date: Thu, 9 Mar 2017 11:58:17 +0100 From: Andrea Venturoli <ml@netfence.it> To: freebsd-ports@freebsd.org Cc: Michael Gmelin <freebsd@grem.de> Subject: Re: Writing a port that simply installs a bunch of files Message-ID: <3e2f217d-f853-4e37-c103-d0b5501520bc@netfence.it> In-Reply-To: <03dbd850-c6d5-f7e9-9b6a-41e38da5b485@netfence.it> References: <66d50818-f00e-9033-4c93-f159c38d04ba@netfence.it> <32660472-60AF-47C0-861C-023BAFC39C3D@grem.de> <5e3354dc-b597-7622-dbae-07d4119d1b7a@netfence.it> <20170306165104.51c4f071@bsd64.grem.de> <20170306170505.7e043310@bsd64.grem.de> <03dbd850-c6d5-f7e9-9b6a-41e38da5b485@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/06/17 17:45, Andrea Venturoli wrote: >> post-install: >> @${TAR} -xf ${FILESDIR}/input.tgz -C ${STAGEDIR} >> @${FIND} ${STAGEDIR} -type f | \ >> ${SED} "s|^${STAGEDIR}||" >> ${TMPPLIST} >> >> .include <bsd.port.mk> > > Guess this is what I was looking for (just the ${TAR} part)... basically > overriding the "extract" phase. > I modified ${STAGEDIR} to ${STAGEDIR}/${PREFIX}. That should be "${STAGEDIR}${PREFIX}", anyway. Now files have correct permissions, owner and group in ${STAGEDIR}; however the group is lost in ${PREFIX} after "make install". Is specifying "@group" in pkg-plist the only way to keep that? bye & Thanks av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e2f217d-f853-4e37-c103-d0b5501520bc>