new USES=tar ?

nano nanotek at bsdbox.co
Tue Mar 11 11:10:22 UTC 2014


I think I prefer your second example:

USES=tar:$EXT

Baptiste Daroussin <bapt at FreeBSD.org> wrote:
>Hi all,
>
>To be able to migrate most of the zip files to use bsdtar when they
>case we have
>added USES=zip[:infozip] for consistency I do plan to make the same
>kind of USES
>for every kind of archivers. I am puzzled on how to handle all the tar
>extensions what would your propose?
>
>One USES per extension? (USES=xz, USES=bzip2 etc?)
>
>or One USES=tar with arguments for extensions?
>- USES=tar:xz (set suffix to .tar.xz)
>- USES=tar:bzi2 (set suffix to .tar.bzip2)
>- USES=tar:tgz (set suffix to .tgz)
>- USES=tar:Z (set suffix to tar.Z)
>- USES=tar (set suffix to .tar)
>
>If nothing is specified into USES then the default remains .tar.gz
>
>Any better idea?
>
>regards,
>Bapt

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the freebsd-ports mailing list