[72617] trunk/dports/graphics/GLC_lib/Portfile

michaelld at macports.org michaelld at macports.org
Thu Oct 21 05:51:55 PDT 2010


Revision: 72617
          http://trac.macports.org/changeset/72617
Author:   michaelld at macports.org
Date:     2010-10-21 05:51:52 -0700 (Thu, 21 Oct 2010)
Log Message:
-----------
Changes to use qt4 portgroup.

Modified Paths:
--------------
    trunk/dports/graphics/GLC_lib/Portfile

Modified: trunk/dports/graphics/GLC_lib/Portfile
===================================================================
--- trunk/dports/graphics/GLC_lib/Portfile	2010-10-21 12:51:35 UTC (rev 72616)
+++ trunk/dports/graphics/GLC_lib/Portfile	2010-10-21 12:51:52 UTC (rev 72617)
@@ -2,21 +2,20 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           qt4 1.0
 
 categories          graphics
 platforms           darwin
 
 name                GLC_lib
 version             1.2.0
-revision            2
+revision            3
 maintainers         lilalinux.net:macports
 description         C++ class library that enables the quick creation of an OpenGL application based on QT4.
 long_description    C++ class library that enables the quick creation of an OpenGL application based on QT4.
 
 homepage            http://www.glc-lib.net/
 
-depends_lib         port:qt4-mac port:zlib
-
 master_sites        sourceforge:glc-lib
 distname            ${name}_src_${version}
 
@@ -31,15 +30,13 @@
     reinplace       s|@@PREFIX@@|${prefix}|g ${worksrcpath}/glc_lib/GLC_lib.pro
 }
 
-set qt_dir          ${prefix}/libexec/qt4-mac
-
 configure.pre_args  INSTALLDIR=${prefix}/lib
-configure.cmd       ${qt_dir}/bin/qmake glc_lib/GLC_lib.pro PREFIX=${prefix}
+configure.cmd       ${qt_qmake_cmd} glc_lib/GLC_lib.pro PREFIX=${prefix}
 
 use_parallel_build  yes
 
 build.args          CC=${configure.cc}
-build.env           QTDIR=${qt_dir} PREFIX=${prefix}
+build.env-append    PREFIX=${prefix}
 
 post-build {
 	system "install_name_tool -id	\
@@ -47,8 +44,6 @@
 		${worksrcpath}/libGLC_lib.dylib"
 }
 
-destroot.env        QTDIR=${qt_dir} INSTALL_ROOT=${destroot}
-
 livecheck.type      regex
 livecheck.url       http://sourceforge.net/api/file/index/project-id/153150/mtime/desc/rss?path=%2Fglc-lib
 livecheck.regex     ${name}_(\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101021/2de39bae/attachment.html>


More information about the macports-changes mailing list