source: trunk/dports/graphics/AntTweakBar/Portfile

Last change on this file was 93605, checked in by jmr@…, 5 years ago

AntTweakBar: fix distfiles, follow stealth update (#31267)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 93605 2012-05-28 00:02:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                AntTweakBar
7version             1.14
8revision            2
9categories          graphics
10maintainers         gmail.com:karcaw
11description         Graphics Library for graphical user interface
12long_description    AntTweakBar is a small and easy-to-use C/C++ library \
13                    that allows programmers to quickly add a light and intuitive graphical \
14                    user interface into graphic applications based on OpenGL, DirectX 9 or \
15                    DirectX 10 to interactively tweak their parameters on-screen.
16homepage            http://www.antisphere.com/Wiki/tools:anttweakbar
17platforms           darwin
18master_sites        http://www.antisphere.com/Tools/AntTweakBar/
19distname            ${name}_[join [split ${version} .] ""]
20use_configure       no
21use_zip             yes
22
23variant universal {}
24if {[variant_isset universal]} {
25    set archflags ${configure.universal_cflags}
26} else {
27    set archflags ${configure.cc_archflags}
28}
29
30build.args          CXX="${configure.cc}" \
31                    CXXCFG="${configure.optflags} ${archflags}" \
32                    LFLAGS="${archflags}" \
33                    LINK="${configure.cc}" \
34                    PREFIX=${prefix}
35
36eval destroot.args  ${build.args}
37
38# stealth update of 1.14, ticket #31267
39dist_subdir         ${name}/${version}_2
40checksums           sha1    b6405082efb6d6f26b3856a1b12c4e520055390e \
41                    rmd160  6297484674785807a8e750ccc8934dcba35f8353
42
43patchfiles          ATB_[join [split ${version} .] ""]_mac.patch
44worksrcdir          ${name}
45
46#post-extract {
47#    file link ${workpath}/AntTweakBar-${version} ${workpath}/AntTweakBar
48#}
Note: See TracBrowser for help on using the repository browser.