[79077] trunk/dports/devel/strigi/Portfile

pixilla at macports.org pixilla at macports.org
Wed Jun 1 07:34:59 PDT 2011


Revision: 79077
          http://trac.macports.org/changeset/79077
Author:   pixilla at macports.org
Date:     2011-06-01 07:34:59 -0700 (Wed, 01 Jun 2011)
Log Message:
-----------
devel/strigi: Make qt4 a variant

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

Modified: trunk/dports/devel/strigi/Portfile
===================================================================
--- trunk/dports/devel/strigi/Portfile	2011-06-01 11:11:03 UTC (rev 79076)
+++ trunk/dports/devel/strigi/Portfile	2011-06-01 14:34:59 UTC (rev 79077)
@@ -3,7 +3,9 @@
 
 PortSystem  1.0
 PortGroup   cmake 1.0
-PortGroup   qt4 1.0
+if {[variant_isset qt4]} {
+    PortGroup       qt4 1.0
+}
 
 name		strigi
 version		0.6.4
@@ -31,7 +33,8 @@
 configure.args-append   -DICONV_INCLUDE_DIR:PATH=${prefix}/include \
                         -DICONV_LIBRARIES:FILEPATH=${prefix}/lib/libiconv.dylib \
                         -DLIBXML2_INCLUDE_DIR:PATH=${prefix}/include/libxml2 \
-                        -DLIBXML2_LIBRARIES:FILEPATH=${prefix}/lib/libxml2.dylib
+                        -DLIBXML2_LIBRARIES:FILEPATH=${prefix}/lib/libxml2.dylib \
+                        -DENABLE_QT4:BOOL=OFF
 
 # Best practice for CMake dictates that builds should be out of source.
 # However, it appears that strigi uses java to create source files and
@@ -44,5 +47,10 @@
 		xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
 		xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS ChangeLog TODO ${destroot}${prefix}/share/doc/${name}
 }
+
+variant qt4 description {Use qt4-mac} {
+    configure.args-delete       -DENABLE_QT4:BOOL=OFF
+}
+
 livecheck.url http://sourceforge.net/projects/strigi/files/
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110601/9fff0a2b/attachment.html>


More information about the macports-changes mailing list