extract both bz2 and gz files from distfiles

Boris Samorodov bsam at ipt.ru
Mon Aug 7 19:23:53 UTC 2006


On Mon, 7 Aug 2006 10:28:16 -0500 Brooks Davis wrote:
> On Mon, Aug 07, 2006 at 03:12:06AM +0400, Boris Samorodov wrote:

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

Aha, that's it. Thanks, Brooks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list