port with different kinds of distfiles
Ryan Schmidt
ryandesign at macports.org
Thu Jan 24 17:46:47 PST 2013
On Jan 24, 2013, at 17:56, Michael Allman wrote:
> I'm attempting to augment the lang/scala2.10 Portfile with a +doc variant for installing the api docs. The scala api docs come in two dist formats---zip and txz. The main scala distfile itself is a tgz. You can find the download links here:
>
> http://www.scala-lang.org/downloads
>
> I'm trying to add the scala doc txz distfile to the +doc variant, but I can't figure out how to configure the port to use xz to extract the doc distfile and tar for the main distfile. Can anyone suggest a clean solution?
MacPorts' automatic distfile extraction only works when all distfiles are of the same kind.
The better choice here is to make a scala2.10-docs subport instead of a variant; then there's no problem.
More information about the macports-users
mailing list