On Sat, Dec 06, 2014 at 02:48:50AM -0700, Anthony J. Bentley wrote: > Jan Stary writes: > > The source tarball of audio/flac is a .tar.xz file. > > Can the base system unpack that, or should audio/flac > > BUILD_DEPEND on archivers/xz ? > > Look at bsd.port.mk... setting EXTRACT_SUFX adds the necessary ports > to BUILD_DEPENDS.
Nope, that's not how it works. Having files to extract that end in .xz or .lzma adds the necessary ports to BUILD_DEPENDS. Setting EXTRACT_SUFX is a way to achieve that, but you can have a mix of DISTFILES using various archive programs, and bsd.port.mk will correctly do things.