new port - different versions of the same file - advice needed

Frank J. Laszlo laszlof at
Fri Nov 5 13:28:53 UTC 2010

Anton Shterenlikht wrote:
> What I've done for now is to create a tgz
> of the 3 *.f files above, and put it at
> I then put in the Makefile
> DISTNAME=       ${PORTNAME}_src blasmach
> This seems to work, but it relies on blasmach.tgz
> being untarred *after* slatec_src.tgz. I guess
> this is an unsafe assumption?

Untar them to another subdirectory, and copy them over in the 
post-extract extract target.

Alternately you could just use REINPLACE_CMD to modify the files within 
the original tarball.

Hope this helps,

Frank Laszlo

More information about the freebsd-ports mailing list