[54845] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Sun Aug 2 19:36:55 PDT 2009


Revision: 54845
          http://trac.macports.org/changeset/54845
Author:   ryandesign at macports.org
Date:     2009-08-02 19:36:53 -0700 (Sun, 02 Aug 2009)
Log Message:
-----------
GLC_lib: new port, version 1.1.0; see #19766

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

Added: trunk/dports/graphics/GLC_lib/Portfile
===================================================================
--- trunk/dports/graphics/GLC_lib/Portfile	                        (rev 0)
+++ trunk/dports/graphics/GLC_lib/Portfile	2009-08-03 02:36:53 UTC (rev 54845)
@@ -0,0 +1,45 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+categories          graphics
+
+name                GLC_lib
+version             1.1.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         port:qt4-mac
+
+master_sites        sourceforge:glc-lib
+distname            GLC_lib_src_$version
+distfiles           GLC_lib_src_$version.zip
+
+checksums           md5 e62ce3b3d7f8925bda8a51e9c0cf5e81 \
+                    sha1 89761029f621de24abe324da5836ca1d7c73356b \
+                    rmd160 edc35b27107952360b3f84cd8c6afb14770ed10b
+
+use_zip             yes
+
+patchfiles          patch-GLC_lib.pro.diff
+
+use_configure       yes
+
+set qt_dir          ${prefix}/libexec/qt4-mac
+
+configure.pre_args  INSTALLDIR=${prefix}/lib
+configure.cmd       ${qt_dir}/bin/qmake GLC_lib.pro PREFIX=${prefix}
+
+build.env           QTDIR=${qt_dir} PREFIX=${prefix}
+
+post-build {
+	system "install_name_tool -id	\
+		${qt_dir}/lib/libGLC_lib.dylib	\
+		${worksrcpath}/libGLC_lib.dylib"
+}
+
+destroot.env        QTDIR=${qt_dir} INSTALL_ROOT=${destroot}


Property changes on: trunk/dports/graphics/GLC_lib/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff
===================================================================
--- trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff	                        (rev 0)
+++ trunk/dports/graphics/GLC_lib/files/patch-GLC_lib.pro.diff	2009-08-03 02:36:53 UTC (rev 54845)
@@ -0,0 +1,13 @@
+--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090802/5da263a7/attachment.html>


More information about the macports-changes mailing list