source: trunk/dports/aqua/fltk/Portfile @ 75768

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

fltk: simplify and avoid use of non-public proc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 75768 2011-02-08 00:22:25Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            fltk
7conflicts       fltk-devel
8version         1.1.10
9revision        3
10categories      aqua devel
11platforms       macosx
12maintainers     nomaintainer
13description     Fast Light Tool Kit
14
15long_description \
16    FLTK (pronounced fulltick) \
17    is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), \
18    Microsoft Windows, and Mac OS X. \
19    FLTK provides modern GUI functionality without the bloat \
20    and supports 3D graphics via OpenGL and \
21    its built-in GLUT emulation. \
22    \
23    FLTK is designed to be small and modular enough to be \
24    statically linked, but works fine as a shared library. \
25    FLTK also includes an excellent UI builder called FLUID \
26    that can be used to create applications in minutes.
27
28homepage        http://www.fltk.org/
29master_sites    http://ftp.easysw.com/pub/fltk/${version}/
30worksrcdir      ${name}-${version}
31distname        ${worksrcdir}-source
32use_bzip2       yes
33
34checksums       md5     a1765594bc427ff892e36089fe1fa672 \
35                sha1    0d2b34fede91fa78eeaefb893dd70282f73908a8 \
36                rmd160  f8fc4371811efcc0d6fc73edd0525d8ff87a4faa
37
38depends_lib     port:jpeg \
39                port:libpng \
40                port:zlib
41
42use_parallel_build  yes
43
44post-patch {
45    reinplace "s|/Applications|${applications_dir}/${name}|g" \
46        ${worksrcpath}/fluid/Makefile \
47        ${worksrcpath}/test/Makefile
48}
49
50configure.cflags
51configure.cppflags
52configure.cxxflags
53configure.ldflags
54configure.env         DSOFLAGS=\"${configure.ld_archflags}\"
55configure.args  --enable-threads \
56                --enable-shared \
57                --mandir=${prefix}/share/man \
58                --with-archflags=\"${configure.cc_archflags}\"
59
60destroot.target install \
61                install-desktop
62
63# Force 32-bit (#21054)
64supported_archs i386 ppc
65universal_variant no
66
67livecheck.type  regexm
68livecheck.url   ${homepage}
69livecheck.regex "Stable Release.*?\n.*?VERSION=(\\d+(\\.\\d+)*)'"
Note: See TracBrowser for help on using the repository browser.