[120659] trunk/dports/science/OpenCSG/Portfile

mf2k at macports.org mf2k at macports.org
Wed Jun 4 14:07:33 PDT 2014


Revision: 120659
          https://trac.macports.org/changeset/120659
Author:   mf2k at macports.org
Date:     2014-06-04 14:07:33 -0700 (Wed, 04 Jun 2014)
Log Message:
-----------
OpenCSG: Use qmake portgroup. (#39424) Fix dependencies.

Modified Paths:
--------------
    trunk/dports/science/OpenCSG/Portfile

Modified: trunk/dports/science/OpenCSG/Portfile
===================================================================
--- trunk/dports/science/OpenCSG/Portfile	2014-06-04 20:49:16 UTC (rev 120658)
+++ trunk/dports/science/OpenCSG/Portfile	2014-06-04 21:07:33 UTC (rev 120659)
@@ -2,7 +2,7 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           qt4 1.0
+PortGroup           qmake 1.0
 
 name                OpenCSG
 version             1.3.3
@@ -24,32 +24,15 @@
 checksums           rmd160  4478db5b83f33c664ba12433fb8502752400a56f \
                     sha256  8270ed14da5c4fc14d005f11e397522b4fc783878cf91fa02dd680749b2206d8
 
-# only need qmake, don't care about it's arch
+depends_lib-append  port:glew
 
-if {[file exists ${qt_frameworks_dir}/QtCore/QtCore]} {
-    depends_build-append path:Library/Frameworks/QtCore/QtCore:qt4-mac
-} else {
-    depends_build-append path:lib/libQtCore.4.dylib:qt4-mac
-}
-set depends_skip_archcheck {qt4-mac}
-
-depends_lib         port:glew
-
 worksrcdir          ${distname}/src
 
 post-patch {
     reinplace "s@\\.\\./glew/include@@" ${worksrcpath}/src.pro
 }
 
-pre-configure {
-    configure.post_args "CONFIG+=\"${qt_arch_types}\""
-}
-
-configure.cmd       ${qt_qmake_cmd}
-configure.pre_args
 configure.args      -o Makefile src.pro LIBS+="-lGLEW"
-configure.universal_args
-configure.args-append "CONFIG-=qt"
 
 destroot {
     eval file copy [glob ${worksrcpath}/../lib/*] ${destroot}${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140604/8281a2cc/attachment.html>


More information about the macports-changes mailing list