[105020] trunk/dports/gis
Ryan Schmidt
ryandesign at macports.org
Thu Apr 11 17:32:36 PDT 2013
On Apr 7, 2013, at 17:24, stromnov at macports.org wrote:
> Revision: 105020
> https://trac.macports.org/changeset/105020
> Author: stromnov at macports.org
> Date: 2013-04-07 15:24:29 -0700 (Sun, 07 Apr 2013)
> Log Message:
> -----------
> gis/orfeotoolbox: new port
>
> Added Paths:
> -----------
> trunk/dports/gis/orfeotoolbox/
> trunk/dports/gis/orfeotoolbox/Portfile
> +pre-build {
> + if { ![catch {set installed [lindex [registry_active libsvm] 0]}]} {
> + ui_msg "OrfeoToolbox will fail to build because the 'libsvm' port is active. Deactivate"
> + ui_msg "'libsvm' by running 'port deactivate libsvm' and try again. You may reactivate"
> + ui_msg "'libsvm' after installing OrfeoToolbox by running 'port activate libsvm'."
> + return -code error "check is installed"
> + }
> +}
Include the conflicts_build 1.0 portgroup and the line "conflicts_build libsvm" to do this for your automatically.
More information about the macports-dev
mailing list