# -*- 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 name AntTweakBar version 1.14 revision 2 categories graphics maintainers gmail.com:karcaw description Graphics Library for graphical user interface long_description AntTweakBar is a small and easy-to-use C/C++ library \ that allows programmers to quickly add a light and intuitive graphical \ user interface into graphic applications based on OpenGL, DirectX 9 or \ DirectX 10 to interactively tweak their parameters on-screen. homepage http://www.antisphere.com/Wiki/tools:anttweakbar platforms darwin master_sites http://www.antisphere.com/Tools/AntTweakBar/ distname ${name}_[join [split ${version} .] ""] use_configure no use_zip yes variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.args CXX="${configure.cc}" \ CXXCFG="${configure.optflags} ${archflags}" \ LFLAGS="${archflags}" \ LINK="${configure.cc}" \ PREFIX=${prefix} eval destroot.args ${build.args} # stealth update of 1.14, ticket #31267 dist_subdir ${name}/${version}_2 checksums sha1 b6405082efb6d6f26b3856a1b12c4e520055390e \ rmd160 6297484674785807a8e750ccc8934dcba35f8353 patchfiles ATB_[join [split ${version} .] ""]_mac.patch worksrcdir ${name} #post-extract { # file link ${workpath}/AntTweakBar-${version} ${workpath}/AntTweakBar #}