pythonxx dependent ports

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Jun 22 19:03:50 PDT 2011


> Looks like I need to do this for at least one file.
> 
> Two files have this, it's long but I'm using the python27 PortGroup so I'll assume this is a desired shebang:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
> 
> But one other file with a /usr/.. shebang.
> 
> Is there an example pyx-* port that comes to mind that fixes shebangs, possibly using fs-traverse with a reinplace limited to the first line?

Be sure to build that path from the variables in the PortGroup!

Nothing immediately comes to mind, but a quick grep should find what you're after, pyx-* or otherwise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110622/600a6efb/attachment.bin>


More information about the macports-dev mailing list