source: trunk/dports/aqua/fltk-devel/Portfile @ 78488

Last change on this file since 78488 was 78488, checked in by ryandesign@…, 9 years ago

fltk-devel: update to 1.3.x-r8635

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 78488 2011-05-09 12:19:53Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            fltk-devel
7conflicts       fltk
8version         1.3.x-r8635
9categories      aqua devel
10platforms       macosx
11maintainers     nomaintainer
12description     Fast Light Tool Kit
13
14long_description \
15    FLTK (pronounced fulltick) \
16    is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), \
17    Microsoft Windows, and Mac OS X. \
18    FLTK provides modern GUI functionality without the bloat \
19    and supports 3D graphics via OpenGL and \
20    its built-in GLUT emulation. \
21    \
22    FLTK is designed to be small and modular enough to be \
23    statically linked, but works fine as a shared library. \
24    FLTK also includes an excellent UI builder called FLUID \
25    that can be used to create applications in minutes.
26
27homepage        http://www.fltk.org/
28master_sites    http://ftp.easysw.com/pub/fltk/snapshots/
29distname        fltk-${version}
30use_bzip2       yes
31
32checksums       sha1    098cfd9b6c5f2b9856f60fd5efbab10350accef7 \
33                rmd160  4c94a4792de127fc53dfb72584e00dd5825df14b
34
35depends_lib     port:jpeg \
36                port:libpng \
37                port:zlib
38
39use_parallel_build  yes
40
41post-patch {
42    # set .app directory
43    reinplace "s|/Applications|${applications_dir}/fltk|g" \
44        ${worksrcpath}/fluid/Makefile \
45        ${worksrcpath}/test/Makefile
46}
47
48pre-configure {
49    if {[variant_isset universal]} {
50        set archflags ${configure.universal_cflags}
51    } else {
52        set archflags ${configure.cc_archflags}
53    }
54    configure.args-append --with-archflags=\"${archflags}\"
55
56    configure.universal_cflags ${configure.cflags}
57    configure.universal_cppflags ${configure.cppflags}
58    configure.universal_cxxflags ${configure.cxxflags}
59    configure.universal_ldflags ${configure.ldflags}
60}
61
62configure.cppflags
63configure.ldflags
64
65configure.args-append   \
66    --enable-shared     \
67    --disable-localjpeg \
68    --disable-localzlib \
69    --disable-localpng
70
71destroot.target install \
72                install-desktop
73
74livecheck.type  regexm
75livecheck.url   ${homepage}
76livecheck.regex "Snapshots:.*VERSION=(1\\.3\\.x-r\\d+)'"
Note: See TracBrowser for help on using the repository browser.