Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 2010 09:00:23 -0400
From:      "Frank J. Laszlo" <laszlof@freebsd.org>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: new port - different versions of the same file - advice needed
Message-ID:  <sig.7925c3a58d.4CD3FFE7.1010405@freebsd.org>
In-Reply-To: <20101105125127.GA25609@mech-cluster241.men.bris.ac.uk>
References:  <20101105102608.GA19572@mech-cluster241.men.bris.ac.uk> <20101105125127.GA25609@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sig.7925c3a58d.4CD3FFE7.1010405>