#15860: umit ---------------------------------+------------------------------------------ Reporter: luis.kop@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by raimue@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