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

Last change on this file since 111498 was 111498, checked in by michaelld@…, 6 years ago

fltk-devel: update to 1.3.x-r9965.

  • 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 111498 2013-09-24 00:41:23Z michaelld@macports.org $
3
4PortSystem      1.0
5
6name            fltk-devel
7conflicts       fltk
8version         1.3.x-r9965
9categories      aqua devel
10license         LGPL
11platforms       macosx
12maintainers     michaelld openmaintainer
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://fltk.org/pub/fltk/snapshots/
30distname        fltk-${version}
31use_bzip2       yes
32
33checksums       rmd160  ac32fbec144147aff32d43f14840dfcb2eef950d \
34                sha256  6ddd756316d6071640d75fb31b47a3420c0c4a0d041b3c44e76cb34f84096890
35
36depends_lib     port:jpeg \
37                port:libpng \
38                port:zlib
39
40use_parallel_build  yes
41
42patchfiles      patch-fluid-Makefile.diff \
43                patch-src-Makefile.diff
44
45post-patch {
46    reinplace "s|/Applications|${applications_dir}/fltk|g" \
47        ${worksrcpath}/fluid/Makefile \
48        ${worksrcpath}/test/Makefile
49
50    # Disable silent rules
51    reinplace "/^\\.SILENT:$/d" ${worksrcpath}/makeinclude.in
52}
53
54variant universal {}
55
56configure.args  --enable-shared \
57                --disable-localjpeg \
58                --disable-localzlib \
59                --disable-localpng \
60                --with-archflags="[get_canonical_archflags]"
61
62post-configure {
63    reinplace -E {s|-arch [a-z0-9_]+||g} ${worksrcpath}/fltk-config
64}
65
66destroot.target install \
67                install-desktop
68
69livecheck.type  regexm
70livecheck.url   ${homepage}
71livecheck.regex "Snapshots:.*\n.*v(1\\.3\\.x-r\\d+)"
Note: See TracBrowser for help on using the repository browser.