Ticket #29892: Portfile.diff
File Portfile.diff, 2.9 KB (added by ryandesign (Ryan Carsten Schmidt), 7 years ago) |
---|
-
Portfile
1 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 2 3 3 PortSystem 1.0 4 PortGroup qt4 1.0 4 PortGroup github 1.0 5 PortGroup qmake5 1.0 5 6 7 github.setup laumaya GLC_lib 3_0_1 Version_ 8 version [string map {_ .} ${github.version}] 6 9 categories graphics 7 10 platforms darwin 8 9 name GLC_lib10 version 1.2.011 revision 312 11 maintainers nomaintainer 13 description C++ class library that enables the quick creation of an OpenGL application based on QT4. 14 long_description C++ class library that enables the quick creation of an OpenGL application based on QT4. 12 license LGPL-3+ 15 13 14 description C++ class library that enables the quick creation of an OpenGL application based on Qt. 15 long_description C++ class library that enables the quick creation of an OpenGL application based on Qt. 16 16 17 homepage http://www.glc-lib.net/ 17 18 18 master_sites sourceforge:glc-lib 19 distname ${name}_src_${version} 19 checksums rmd160 64b4dab7d7e9c2657c129c901304c288edf41783 \ 20 sha256 c0d862f011e5766691b8954db7de1dd61ccc3aa2171704c1e86bd7e44f2099f4 \ 21 size 11681630 20 22 21 checksums md5 2c05978bd719f3dded08ac778b1854bf \ 22 sha1 b109895b34940789470dcd3a2748913035a0e576 \ 23 rmd160 127b6eadfb3b5ae8eb9c26583d63065c1ee6db40 23 #patchfiles patch-GLC_lib.pro.diff 24 #post-patch { 25 # reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/glc_lib/GLC_lib.pro 26 #} 24 27 25 use_zip yes 28 #configure.pre_args INSTALLDIR=${prefix}/lib 29 #configure.cmd ${qt_qmake_cmd} glc_lib/GLC_lib.pro PREFIX=${prefix} 26 30 27 patchfiles patch-GLC_lib.pro.diff 28 post-patch { 29 reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/glc_lib/GLC_lib.pro 30 } 31 #use_parallel_build yes 31 32 32 configure.pre_args INSTALLDIR=${prefix}/lib 33 configure.cmd ${qt_qmake_cmd} glc_lib/GLC_lib.proPREFIX=${prefix}33 #build.args CC=${configure.cc} 34 #build.env-append PREFIX=${prefix} 34 35 35 use_parallel_build yes 36 37 build.args CC=${configure.cc} 38 build.env-append PREFIX=${prefix} 39 40 post-build { 41 system "install_name_tool -id \ 42 ${qt_dir}/lib/libGLC_lib.dylib \ 43 ${worksrcpath}/libGLC_lib.dylib" 44 } 45 46 livecheck.type regex 47 livecheck.url http://sourceforge.net/api/file/index/project-id/153150/mtime/desc/rss?path=%2Fglc-lib 48 livecheck.regex ${name}_(\\d+(\\.\\d+)+) 36 #post-build { 37 # system "install_name_tool -id \ 38 # ${qt_dir}/lib/libGLC_lib.dylib \ 39 # ${worksrcpath}/libGLC_lib.dylib" 40 #}