> On Dec 29, 2015, at 8:43 PM, [email protected] wrote:
>
> Revision
> 144013
> Author
> [email protected]
> Date
> 2015-12-29 18:43:19 -0800 (Tue, 29 Dec 2015)
> Log Message
>
> qlandkartegt: add qt4 portgroup, enable cmake.out_of_source build maintainer
> #49432
> Modified: trunk/dports/gis/qlandkartegt/Portfile (144012 => 144013)
> @@ -33,9 +35,11 @@
>
> patchfiles patch-src-main.cpp.diff
>
> +cmake.out_of_source yes
> +
> destroot {
> xinstall -d ${destroot}${applications_dir}
> - copy "${worksrcpath}/bin/QLandkarte GT.app"
> ${destroot}${applications_dir}
> + copy "${workpath}/build/bin/QLandkarte GT.app"
> ${destroot}${applications_dir}
> }
You probably should not assume that the build directory is ${workpath}/build.
That's an implementation detail of the cmake portgroup. You should use the
${destroot.dir} variable instead.
There's also no need here to create ${destroot}${applications_dir}. MacPorts
creates this and other standard directories for you automatically before the
destroot phase runs.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev