[MacPorts] #64083: New port -- m2vrequantiser
MacPorts
noreply at macports.org
Mon Nov 29 19:19:27 UTC 2021
#64083: New port -- m2vrequantiser
-----------------------------+--------------------
Reporter: RobK88 | Owner: (none)
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: m2vrequantiser |
-----------------------------+--------------------
Comment (by ryandesign):
Replying to [ticket:64083 RobK88]:
> There is ONE big problem with he portfile. The portfile downloads a
second file containing the manpage and fails at the extraction stage. The
second file is compressed with xz whereas the main source file is
compressed with gz.
>
> How do you deal with this situation? I tried using tags (e.g. "use_xz
yes:tagtwo") but that did not work.
Although I would love to add this feature in the future and have some
ideas about how to do it, unfortunately MacPorts doesn't currently support
automatically extracting multiple distfiles when they need different
extraction commands. But you can let MacPorts automatically extract one of
the files, and do the other one manually.
For example, let MacPorts extract the tar.xz file and do the tar.gz file
yourself: (This code is untested)
{{{
use_xz yes
extract.only ${name}_${version}-5.debian.tar.xz
post-extract {
system -W ${workpath} "tar xf [shellescape
${name}_${version}.orig.tar.gz]"
}
}}}
The homepage appears to be wrong... shouldn't it be
https://launchpad.net/m2vrequantiser?
Instead of downloading Debian's repackaged .orig.tar.gz file, could we
download the original file from the developer's launchpad?
--
Ticket URL: <https://trac.macports.org/ticket/64083#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list