1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | categories graphics |
---|
7 | |
---|
8 | name GLC_lib |
---|
9 | version 1.1.0 |
---|
10 | maintainers lilalinux.net:macports |
---|
11 | description C++ class library that enables the quick creation of an OpenGL application based on QT4. |
---|
12 | long_description C++ class library that enables the quick creation of an OpenGL application based on QT4. |
---|
13 | |
---|
14 | homepage http://www.glc-lib.net/ |
---|
15 | |
---|
16 | depends_lib port:qt4-mac |
---|
17 | |
---|
18 | master_sites sourceforge:glc-lib |
---|
19 | distname GLC_lib_src_$version |
---|
20 | distfiles GLC_lib_src_$version.zip |
---|
21 | |
---|
22 | checksums md5 e62ce3b3d7f8925bda8a51e9c0cf5e81 \ |
---|
23 | sha1 89761029f621de24abe324da5836ca1d7c73356b \ |
---|
24 | rmd160 edc35b27107952360b3f84cd8c6afb14770ed10b |
---|
25 | |
---|
26 | use_zip yes |
---|
27 | |
---|
28 | patchfiles patch-GLC_lib.pro.diff |
---|
29 | |
---|
30 | use_configure yes |
---|
31 | |
---|
32 | set qt_dir ${prefix}/libexec/qt4-mac |
---|
33 | |
---|
34 | configure.pre_args INSTALLDIR=${prefix}/lib |
---|
35 | configure.cmd ${qt_dir}/bin/qmake GLC_lib.pro PREFIX=${prefix} |
---|
36 | |
---|
37 | build.env QTDIR=${qt_dir} PREFIX=${prefix} |
---|
38 | |
---|
39 | post-build { |
---|
40 | system "install_name_tool -id \ |
---|
41 | ${qt_dir}/lib/libGLC_lib.dylib \ |
---|
42 | ${worksrcpath}/libGLC_lib.dylib" |
---|
43 | } |
---|
44 | |
---|
45 | destroot.env QTDIR=${qt_dir} INSTALL_ROOT=${destroot} |
---|