<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">yesterday I requested a port of Munt’s mt32emu library (<a href="http://munt.sourceforge.net" class="">munt.sourceforge.net</a>) at <a href="https://trac.macports.org/ticket/62166" class="">https://trac.macports.org/ticket/62166</a> and just added a working portfile <a href="https://trac.macports.org/attachment/ticket/62166/Portfile" class="">https://trac.macports.org/attachment/ticket/62166/Portfile</a>. </div><div class=""><br class=""></div><div class="">What I didn’t manage to do:</div><div class=""><br class=""></div><div class="">- *kind of* had to hard code the master_sites link. I noticed other projects use “sourceforge:project/projectname” but however I did this it either did not find anything or grabbed a webpage.</div><div class=""><br class=""></div><div class="">- provide both a shared and static version of the library. By default a shared library gets build while you need to pass "-Dlibmt32emu_SHARED=FALSE” for the static one. But it’s either or, not both at the same time. I don’t know whether there is a way for two configure/build phases in one port file. But the shared one is the most important one anyway and if you think it is worthwhile to pursue, I can ask the Munt developer whether he could make it possible to have both.</div><div class=""><br class=""></div><div class="">Otherwise the library portfile is ready to be used I think (quick test worked on my system).</div><div class=""><br class=""></div><div class="">I am aiming to create a port file for the two Munt programs as well, but that is maybe a bit more of a challenge as the GUI program mt32emu-qt can be build against either QT4 and QT5 (other than that it is very straightforward with dependency on glib2 and optional JACK and Portaudio)</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Dom</div></body></html>