[69737] trunk/dports/kde/kdegraphics3/Portfile

takanori at macports.org takanori at macports.org
Wed Jul 14 18:50:33 PDT 2010


Revision: 69737
          http://trac.macports.org/changeset/69737
Author:   takanori at macports.org
Date:     2010-07-14 18:50:30 -0700 (Wed, 14 Jul 2010)
Log Message:
-----------
kdegraphics3:
 - Removed a dependency on imlib(gtk1).
 - kuickdraw is no longer installed by default.

Modified Paths:
--------------
    trunk/dports/kde/kdegraphics3/Portfile

Modified: trunk/dports/kde/kdegraphics3/Portfile
===================================================================
--- trunk/dports/kde/kdegraphics3/Portfile	2010-07-15 00:21:20 UTC (rev 69736)
+++ trunk/dports/kde/kdegraphics3/Portfile	2010-07-15 01:50:30 UTC (rev 69737)
@@ -6,7 +6,7 @@
 
 name            kdegraphics3
 version         3.5.10
-revision        4
+revision        5
 set kdeadmin    kde-admindir-1502
 categories      kde kde3
 maintainers     nomaintainer
@@ -28,7 +28,6 @@
 depends_build   port:autoconf263 \
                 port:unsermake
 depends_lib     port:fribidi \
-                port:imlib \
                 port:kdebase3 \
                 port:lcms \
                 port:libusb-compat \
@@ -42,7 +41,12 @@
                 ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
 
 extract.only    ${distname}.tar.bz2
-post-extract    { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
+post-extract    {
+                    system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -"
+                    if (![variant_isset with_imlib]) {
+                        delete ${worksrcpath}/kuickshow
+                    }
+                }
 
 patchfiles      kdegraphics3.patch dp01.patch
 patch           {
@@ -73,7 +77,7 @@
                 }
 }
 
-configure.args  --without-kamera --with-imlib-config=${prefix}/bin --with-distribution='MacPorts/Mac OS X' --without-arts
+configure.args  --without-kamera --with-distribution='MacPorts/Mac OS X' --without-arts
 
 use_configure       no
 
@@ -89,4 +93,9 @@
 
 universal_variant       no
 
+variant with_imlib description {Build and install kuickshow} {
+    depends_lib-append      port:imlib
+    configure.args-append   --with-imlib-config=${prefix}/bin
+}
+
 livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100714/ddd465cd/attachment-0001.html>


More information about the macports-changes mailing list