[134216] trunk/dports/science/kst/Portfile

Lawrence Velázquez larryv at macports.org
Fri Mar 20 09:57:25 PDT 2015


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, nicos at macports.org wrote:
> 
> Revision
> 134216 <https://trac.macports.org/changeset/134216>Author
> nicos at macports.org <mailto:nicos at macports.org>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
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150320/e8af70d7/attachment.html>


More information about the macports-dev mailing list