[127265] trunk/dports/cad

Ryan Schmidt ryandesign at macports.org
Fri Oct 24 14:32:15 PDT 2014


> On Oct 24, 2014, at 9:15 AM, khindenburg at macports.org wrote:
> 
> Revision
> 127265
> Author
> khindenburg at macports.org
> Date
> 2014-10-24 07:15:50 -0700 (Fri, 24 Oct 2014)
> Log Message
> 
> freecad: new port - maintainer - #44097

> Added: trunk/dports/cad/freecad/Portfile (0 => 127265)

> +post-patch {
> +    reinplace "s|QLibraryInfo::location.*|QLatin1String\(\"${applications_dir}/Qt4/\"\);|" \
> +        ${worksrcpath}/src/Gui/Assistant.cpp

Here you've correctly used ${applications_dir}...

> +    reinplace "s|/Applications|/Applications/MacPorts|" \
> +        ${worksrcpath}/src/Mod/OpenSCAD/OpenSCADUtils.py

...but here you've hardcoded its value /Applications/MacPorts, which should be changed to ${applications_dir}.

> +}



More information about the macports-dev mailing list