[97507] trunk/dports/devel/PlasmaShop/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 7 09:39:21 PDT 2012


Revision: 97507
          https://trac.macports.org/changeset/97507
Author:   ryandesign at macports.org
Date:     2012-09-07 09:39:21 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
PlasmaShop: use conflicts_build

Modified Paths:
--------------
    trunk/dports/devel/PlasmaShop/Portfile

Modified: trunk/dports/devel/PlasmaShop/Portfile
===================================================================
--- trunk/dports/devel/PlasmaShop/Portfile	2012-09-07 16:31:07 UTC (rev 97506)
+++ trunk/dports/devel/PlasmaShop/Portfile	2012-09-07 16:39:21 UTC (rev 97507)
@@ -3,6 +3,7 @@
 
 PortSystem                  1.0
 PortGroup                   cmake 1.0
+PortGroup                   conflicts_build 1.0
 PortGroup                   qt4 1.0
 
 name                        PlasmaShop
@@ -38,19 +39,10 @@
                             ${worksrcpath}/src/3rdParty/qticonloader.cpp
 }
 
+conflicts_build             tidy
+
 configure.pre_args          -DCMAKE_INSTALL_PREFIX=${applications_dir}
 
-pre-build {
-    foreach {badport badfile} "tidy ${prefix}/include/platform.h" {
-        if {[file exists ${badfile}]} {
-            ui_error "${name} cannot be built while ${badport} is active."
-            ui_error "Please deactivate ${badport} and try again."
-            ui_error "You can reactivate ${badport} again later."
-            return -code error "${badport} is installed"
-        }
-    }
-}
-
 platform darwin {
     # http://www.ogre3d.org/forums/viewtopic.php?t=9949#p71474
     configure.cflags-append     -DGL_GLEXT_LEGACY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/e6466124/attachment.html>


More information about the macports-changes mailing list