[85896] trunk/dports/kde/konsole/Portfile

nicos at macports.org nicos at macports.org
Mon Oct 17 00:12:55 PDT 2011


Revision: 85896
          http://trac.macports.org/changeset/85896
Author:   nicos at macports.org
Date:     2011-10-17 00:12:55 -0700 (Mon, 17 Oct 2011)
Log Message:
-----------
konsole: not building doc if no specific variant

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

Modified: trunk/dports/kde/konsole/Portfile
===================================================================
--- trunk/dports/kde/konsole/Portfile	2011-10-17 07:12:04 UTC (rev 85895)
+++ trunk/dports/kde/konsole/Portfile	2011-10-17 07:12:55 UTC (rev 85896)
@@ -33,5 +33,11 @@
 
 depends_lib-append  port:kdelibs4
 
+pre-configure {
+    if {![variant_isset docs]} {
+        reinplace "s|add_subdirectory( doc/manual )|#add_subdirectory( doc/manual )|g" ${worksrcpath}/CMakeLists.txt
+    }
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
-livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
\ No newline at end of file
+livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111017/a4187544/attachment.html>


More information about the macports-changes mailing list