extract both bz2 and gz files from distfiles

Brooks Davis brooks at one-eyed-alien.net
Mon Aug 7 15:28:36 UTC 2006


On Mon, Aug 07, 2006 at 03:12:06AM +0400, Boris Samorodov wrote:
> Hi!
> 
> 
> We have got a port (lang/gnat-gcc34) which has both bz2 and gz
> distfiles. As for 5.x+ extracting is gone automagically. But not at
> 4.x. Well, at 4.x extracting may be done for example, by using
> USE_BZIP2 knob and doing gunzipping at after-extract:.
> 
> Does someone know a better solution?
> Does we have examples at our ports?

You could replicated the 4.x behavior with a dependancy on
bsdtar from archivers/libarchive and set TAR=bsdtar.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060807/c2478528/attachment.pgp


More information about the freebsd-ports mailing list