PortFile command

Rainer Müller raimue at macports.org
Thu Jan 26 20:56:59 UTC 2017


On 2017-01-26 21:13, René J.V. Bertin wrote:
> To stick with the ffmpeg-VLC example: it started as a complete copy
> of the 2.8.6 port:ffmpeg. Even trimmed down it's still taking up a
> lot of place inside VLC's Portfile, yet is still supposed to be a
> subport of and for the private use of VLC. It would be a lot cleaner
> if it could be kept completely in a separate file in the same port
> directory.

Looking at the VLC port it looks like the subport ffmpeg-VLC and the
main port have nothing in common at all. This is not what subports are
meant for.

Just move ffmpeg-VLC to a separate Portfile. If anything needs to be
kept in sync, add a comment. The name alone should be enough hint what
this is intended for. Don't force yourself to use subports if it adds
unwanted complexity.

Rainer


More information about the macports-dev mailing list