[118993] trunk/dports/gis/orfeotoolbox/Portfile
stromnov at macports.org
stromnov at macports.org
Mon Apr 14 13:14:02 PDT 2014
Revision: 118993
https://trac.macports.org/changeset/118993
Author: stromnov at macports.org
Date: 2014-04-14 13:14:02 -0700 (Mon, 14 Apr 2014)
Log Message:
-----------
orfeotoolbox: use conflicts_build group
Modified Paths:
--------------
trunk/dports/gis/orfeotoolbox/Portfile
Modified: trunk/dports/gis/orfeotoolbox/Portfile
===================================================================
--- trunk/dports/gis/orfeotoolbox/Portfile 2014-04-14 20:01:25 UTC (rev 118992)
+++ trunk/dports/gis/orfeotoolbox/Portfile 2014-04-14 20:14:02 UTC (rev 118993)
@@ -4,6 +4,7 @@
PortSystem 1.0
PortGroup cmake 1.0
PortGroup qt4 1.0
+PortGroup conflicts_build 1.0
name orfeotoolbox
version 4.0.0
@@ -32,7 +33,7 @@
checksums rmd160 90ee3e47a79e2bee9525c1a9cbfa050a78e1c360 \
sha256 9875484139b785163c0f0e19e76d458f598fd076b80d0d0aa0e3b59cafcad98e
-worksrcdir ${worksrcdir}/../build
+worksrcdir ${workpath}/build
patch.dir ${workpath}/${distname}
depends_lib-append port:tiff \
@@ -48,16 +49,10 @@
port:opencv \
port:fftw-3
-pre-build {
- foreach c {libsvm openjpeg15 OpenSceneGraph InsightToolkit} {
- if { ![catch {set installed [lindex [registry_active $c] 0]}]} {
- ui_msg "OrfeoToolbox will fail to build because the '$c' port is active. Deactivate"
- ui_msg "'$c' by running 'port deactivate $c' and try again. You may reactivate"
- ui_msg "'$c' after installing OrfeoToolbox by running 'port activate $c'."
- return -code error "check is installed"
- }
- }
-}
+conflicts_build libsvm \
+ openjpeg15 \
+ OpenSceneGraph \
+ InsightToolkit
post-extract {
file mkdir ${worksrcpath}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140414/0b0f5f56/attachment.html>
More information about the macports-changes
mailing list