[99925] trunk/dports/print/libLASi/Portfile

Frank Schima macsforever2000 at macports.org
Wed Nov 21 09:14:19 PST 2012


On Nov 21, 2012, at 12:49 AM, takeshi at macports.org wrote:

> Revision
> 99925
> Author
> takeshi at macports.org
> Date
> 2012-11-20 23:49:41 -0800 (Tue, 20 Nov 2012)
> Log Message
> 
> libLASi: updated for 1.1.1 using PortGroup cmake, closing #37033
> Modified Paths
> 
> trunk/dports/print/libLASi/Portfile
> Diff
> 
> Modified: trunk/dports/print/libLASi/Portfile (99924 => 99925)
> 
> --- trunk/dports/print/libLASi/Portfile	2012-11-21 07:35:37 UTC (rev 99924)
> +++ trunk/dports/print/libLASi/Portfile	2012-11-21 07:49:41 UTC (rev 99925)
> @@ -2,8 +2,10 @@
>  # $Id$
>  
>  PortSystem              1.0
> +PortGroup               cmake 1.0
> +
>  name                    libLASi
> -version                 1.1.0
> +version                 1.1.1
>  categories              print
>  license                 LGPL
>  maintainers             takeshi
> @@ -17,27 +19,17 @@
>  homepage                http://www.unifont.org/lasi/
>  platforms               darwin
>  master_sites            sourceforge:lasi
> -checksums               md5    f18091569ed4fface75453b097c67459         \
> -                        sha1   6b2db9dc8719eb7f31c63b70e04b2337812379a1 \
> -                        rmd160 468ffda874ab78676408e8fbe7ab5fee3acc7de7
> +checksums           md5     bc5161b1d820db3dbcea24ce1c2ed5ec \
> +                    sha1    d17fdebf4bb4a29512e321c7af157a694dc855a0 \
> +                    rmd160  dc9efdef39615b4c293c61e3506ee8f2e66bc751
>  
>  depends_build           port:cmake     \
>                          port:pkgconfig
>  depends_lib             path:lib/pkgconfig/pango.pc:pango

Careful here. You have added the cmake portgroup and now you override the dependencies. The cmake portgroup already has a dependency on cmake, so you can remove that and use -append for all other dependencies. 

>  
> -pre-configure {
> -    file mkdir ${workpath}/build
> -}
> -configure.dir           ${workpath}/build
> -configure.cmd           cmake
> -configure.pre_args      -DCMAKE_INSTALL_PREFIX=${prefix}
> -configure.post_args     ../${distname}
> -
> -build.dir               ${workpath}/build
> -
>  if {[variant_isset universal]} {
>      configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
>  }
>  livecheck.type          regex
>  livecheck.url           ${homepage}
> -livecheck.regex         {([0-9]+\.[0-9]+\.[0-9]+) Latest Stable Release}
> +livecheck.regex         {New Release Announcement: libLASi-([0-9]+\.[0-9]+\.[0-9]+)}
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20121121/a0601224/attachment.html>


More information about the macports-dev mailing list