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

Frank J. Laszlo laszlof at freebsd.org
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
> http://eis.bris.ac.uk/~mexas/blasmach.tgz
>
> I then put in the Makefile
>
> MASTER_SITES=   http://netlib.org/slatec/ \
>                 http://eis.bris.ac.uk/~mexas/
> 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