You should probably use destroot.dir (or cmake.build_dir, if that's more
obvious) in the post-destroot script instead of hard-coding "${workpath}/build".
vq
> On Mar 20, 2015, at 9:57 AM, [email protected] wrote:
>
> Revision
> 134216 <https://trac.macports.org/changeset/134216>Author
> [email protected] <mailto:[email protected]>Date
> 2015-03-20 06:57:40 -0700 (Fri, 20 Mar 2015)
> Log Message
>
> kst: modify to use cmake.out_of_source (ticket #47197)
> Modified Paths
>
> trunk/dports/science/kst/Portfile <x-msg://1/#trunkdportssciencekstPortfile>
> Diff
>
> <>Modified: trunk/dports/science/kst/Portfile (134215 => 134216)
>
> --- trunk/dports/science/kst/Portfile 2015-03-20 13:55:59 UTC (rev 134215)
> +++ trunk/dports/science/kst/Portfile 2015-03-20 13:57:40 UTC (rev 134216)
> @@ -23,6 +23,8 @@
> checksums rmd160 b4ed06ddbb4b2680d14e1ac5e8a310bcdd6f737c \
> sha256
> cefbfd3e3710771985e08f02a397ef8ab407168fa8415d2c3c5740c031af18c6
>
> +cmake.out_of_source yes
> +
> #Not using fixup_bundle from cmake
> patchfiles patch-CMakeLists.diff
>
> @@ -39,7 +41,7 @@
> post-destroot {
> move ${destroot}${applications_dir}/share/kst ${destroot}${prefix}/share
> delete ${destroot}${prefix}/lib
> - copy ${worksrcpath}/build/lib ${destroot}${prefix}
> + copy ${workpath}/build/build/lib ${destroot}${prefix}
> }
>
> livecheck.type regex
> _______________________________________________
> macports-changes mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.macosforge.org/mailman/listinfo/macports-changes
> <https://lists.macosforge.org/mailman/listinfo/macports-changes>
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev