New port for ldc2

Ryan Schmidt ryandesign at
Sun Mar 24 21:35:53 UTC 2024

On Mar 24, 2024, at 15:52, P Padil wrote:

> I’m trying to develop a new port for the d-lang ldc package (see attached), but I’m having a hard time deciphering the macports guide as to how to install something like this. It is a binary distributed in a tar.xz file which has the bin, lib, etc, imports directories in the tar and, I would have though, would be easy to link to the appropriate installion dirs.  However I cannot find anything as to how to do this in a Portfile.  Any pointers/help appreciated. 

There's no documentation specific to this case because it's not a usual way to distribute software. I don't recall encountering this need in MacPorts before. 

It looks like you're trying to write a portfile that installs a precompiled binary. MacPorts prefers to build from source. Can the port be made to do that instead?

More information about the macports-dev mailing list