[66328] trunk/dports/graphics/GLC_lib

ryandesign at macports.org ryandesign at macports.org
Fri Apr 9 03:02:42 PDT 2010


Revision: 66328
          http://trac.macports.org/changeset/66328
Author:   ryandesign at macports.org
Date:     2010-04-09 03:02:39 -0700 (Fri, 09 Apr 2010)
Log Message:
-----------
GLC_lib: update to 1.2.0; see #24309 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/graphics/GLC_lib/Portfile
    trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff

Modified: trunk/dports/graphics/GLC_lib/Portfile
===================================================================
--- trunk/dports/graphics/GLC_lib/Portfile	2010-04-09 09:55:24 UTC (rev 66327)
+++ trunk/dports/graphics/GLC_lib/Portfile	2010-04-09 10:02:39 UTC (rev 66328)
@@ -7,30 +7,33 @@
 platforms           darwin
 
 name                GLC_lib
-version             1.1.0
+version             1.2.0
 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         path:bin/qmake-mac:qt4-mac
+depends_lib         path:bin/qmake-mac:qt4-mac port:zlib
 
 master_sites        sourceforge:glc-lib
-distname            GLC_lib_src_$version
+distname            ${name}_src_${version}
 
-checksums           md5 e62ce3b3d7f8925bda8a51e9c0cf5e81 \
-                    sha1 89761029f621de24abe324da5836ca1d7c73356b \
-                    rmd160 edc35b27107952360b3f84cd8c6afb14770ed10b
+checksums           md5     2c05978bd719f3dded08ac778b1854bf \
+                    sha1    b109895b34940789470dcd3a2748913035a0e576 \
+                    rmd160  127b6eadfb3b5ae8eb9c26583d63065c1ee6db40
 
 use_zip             yes
 
 patchfiles          patch-GLC_lib.pro.diff
+post-patch {
+    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.pro PREFIX=${prefix}
+configure.cmd       ${qt_dir}/bin/qmake glc_lib/GLC_lib.pro PREFIX=${prefix}
 
 use_parallel_build  yes
 

Modified: trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff
===================================================================
--- trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff	2010-04-09 09:55:24 UTC (rev 66327)
+++ trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff	2010-04-09 10:02:39 UTC (rev 66328)
@@ -1,13 +1,15 @@
---- GLC_lib.pro.orig	2009-05-26 11:13:49.000000000 +0200
-+++ GLC_lib.pro	2009-05-26 13:58:17.000000000 +0200
-@@ -192,8 +192,8 @@
- # Linux install configuration
- unix { 
-     # Location of HEADERS and library
--    LIB_DIR = /usr/lib
--    INCLUDE_DIR = /usr/include
-+    LIB_DIR = $${PREFIX}/lib
-+    INCLUDE_DIR = $${PREFIX}/include
-     # Adds a -P to preserve link
- 	QMAKE_COPY_FILE = $${QMAKE_COPY_FILE} -P
- 	include.path = $${INCLUDE_DIR}/GLC_lib
+--- glc_lib/GLC_lib.pro.orig	2010-04-08 11:00:33.000000000 -0400
++++ glc_lib/GLC_lib.pro	2010-04-08 11:01:13.000000000 -0400
+@@ -310,9 +310,10 @@
+     			   
+ # Linux install configuration
+ unix { 
++    LIBS += -lz
+     # Location of HEADERS and library
+-    LIB_DIR = /usr/lib
+-    INCLUDE_DIR = /usr/include
++    LIB_DIR = @@PREFIX@@/lib
++    INCLUDE_DIR = @@PREFIX@@/include
+     # Adds a -P to preserve link
+ 	QMAKE_COPY_FILE = $${QMAKE_COPY_FILE} -P
+ 	include.path = $${INCLUDE_DIR}/GLC_lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100409/685e8dba/attachment-0001.html>


More information about the macports-changes mailing list