[69926] trunk/dports/devel/libhsplasma/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jul 22 02:32:04 PDT 2010


Revision: 69926
          http://trac.macports.org/changeset/69926
Author:   ryandesign at macports.org
Date:     2010-07-22 02:32:00 -0700 (Thu, 22 Jul 2010)
Log Message:
-----------
libhsplasma: update to 585

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

Modified: trunk/dports/devel/libhsplasma/Portfile
===================================================================
--- trunk/dports/devel/libhsplasma/Portfile	2010-07-22 09:07:21 UTC (rev 69925)
+++ trunk/dports/devel/libhsplasma/Portfile	2010-07-22 09:32:00 UTC (rev 69926)
@@ -3,8 +3,7 @@
 PortSystem                  1.0
 
 name                        libhsplasma
-version                     0.0-548
-revision        1
+version                     0.0-585
 categories                  devel
 platforms                   darwin
 maintainers                 ryandesign
@@ -20,7 +19,7 @@
 
 fetch.type                  hg
 hg.url                      http://uru.zrax.net/hg/libhsplasma
-hg.tag                      e3221b3852ed
+hg.tag                      df78076691f2
 
 depends_lib                 port:zlib \
                             port:jpeg \
@@ -35,6 +34,13 @@
                             --with-jpeg=${prefix} \
                             --with-ssl=${prefix}
 
+# Prevent problems building when a previous version is installed.
+pre-configure {
+    if {[file exists ${prefix}/lib/libHSPlasma.dylib]} {
+        return -code error "deactivate your existing version of ${name} before attempting to build the new one"
+    }
+}
+
 build.args                  CXX=${configure.cxx}
 
 destroot.destdir            PREFIX=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100722/51c5082f/attachment.html>


More information about the macports-changes mailing list