source: trunk/dports/graphics/GLC_lib/Portfile

Last change on this file was 72617, checked in by michaelld@…, 7 years ago

Changes to use qt4 portgroup.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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: Portfile 72617 2010-10-21 12:51:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           qt4 1.0
6
7categories          graphics
8platforms           darwin
9
10name                GLC_lib
11version             1.2.0
12revision            3
13maintainers         lilalinux.net:macports
14description         C++ class library that enables the quick creation of an OpenGL application based on QT4.
15long_description    C++ class library that enables the quick creation of an OpenGL application based on QT4.
16
17homepage            http://www.glc-lib.net/
18
19master_sites        sourceforge:glc-lib
20distname            ${name}_src_${version}
21
22checksums           md5     2c05978bd719f3dded08ac778b1854bf \
23                    sha1    b109895b34940789470dcd3a2748913035a0e576 \
24                    rmd160  127b6eadfb3b5ae8eb9c26583d63065c1ee6db40
25
26use_zip             yes
27
28patchfiles          patch-GLC_lib.pro.diff
29post-patch {
30    reinplace       s|@@PREFIX@@|${prefix}|g ${worksrcpath}/glc_lib/GLC_lib.pro
31}
32
33configure.pre_args  INSTALLDIR=${prefix}/lib
34configure.cmd       ${qt_qmake_cmd} glc_lib/GLC_lib.pro PREFIX=${prefix}
35
36use_parallel_build  yes
37
38build.args          CC=${configure.cc}
39build.env-append    PREFIX=${prefix}
40
41post-build {
42        system "install_name_tool -id   \
43                ${qt_dir}/lib/libGLC_lib.dylib  \
44                ${worksrcpath}/libGLC_lib.dylib"
45}
46
47livecheck.type      regex
48livecheck.url       http://sourceforge.net/api/file/index/project-id/153150/mtime/desc/rss?path=%2Fglc-lib
49livecheck.regex     ${name}_(\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.