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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"