[MacPorts] #15860: umit
MacPorts
noreply at macports.org
Sun Jul 6 15:14:57 PDT 2008
#15860: umit
---------------------------------+------------------------------------------
Reporter: luis.kop at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Requests
Component: ports | Version: 1.6.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by raimue at macports.org):
Use this in the patch file:
{{{
CONFIG_DIR = "__PREFIX__/share/umit/config"
...
}}}
And use this post-patch:
{{{
post-patch {
reinplace "s|__PREFIX__|${prefix}|g"
${worksrcpath}/umitCore/BasePaths.py
}
}}}
I don't think you need another reinplace in post-destroot.
--
Ticket URL: <http://trac.macports.org/ticket/15860#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list