On 03/06/17 17:05, Michael Gmelin wrote:

What about something like this (your files are in files/input.tgz)?
...

NO_WRKSUBDIR=   yes
NO_BUILD=       yes
NO_INSTALL=     yes

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}.

Just why post-install and not do-install?

 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"

Reply via email to