1 | # $Id: Portfile 32871 2008-01-14 09:29:56Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name fltk |
---|
6 | version 1.1.8 |
---|
7 | categories aqua devel |
---|
8 | platforms macosx |
---|
9 | maintainers nomaintainer |
---|
10 | description Fast Light Tool Kit |
---|
11 | |
---|
12 | long_description \ |
---|
13 | FLTK (pronounced fulltick) \ |
---|
14 | is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), \ |
---|
15 | Microsoft Windows, and Mac OS X. \ |
---|
16 | FLTK provides modern GUI functionality without the bloat \ |
---|
17 | and supports 3D graphics via OpenGL and \ |
---|
18 | its built-in GLUT emulation. \ |
---|
19 | \ |
---|
20 | FLTK is designed to be small and modular enough to be \ |
---|
21 | statically linked, but works fine as a shared library. \ |
---|
22 | FLTK also includes an excellent UI builder called FLUID \ |
---|
23 | that can be used to create applications in minutes. |
---|
24 | |
---|
25 | homepage http://www.fltk.org/ |
---|
26 | master_sites http://ftp.easysw.com/pub/fltk/1.1.8/ |
---|
27 | worksrcdir ${name}-${version} |
---|
28 | distname ${worksrcdir}-source |
---|
29 | use_bzip2 yes |
---|
30 | |
---|
31 | checksums md5 0f272d7299778e42fcbedf3c01741f4f \ |
---|
32 | sha1 ea2ba012025726f28f1b58451489f12c5bba42ac \ |
---|
33 | rmd160 7ae097f78111c6ab577f184ac292912ff14c8416 |
---|
34 | |
---|
35 | depends_lib port:jpeg \ |
---|
36 | port:libpng \ |
---|
37 | port:zlib |
---|
38 | |
---|
39 | post-patch { |
---|
40 | reinplace "s|/Applications|/Applications/MacPorts/${name}|g" \ |
---|
41 | ${worksrcpath}/fluid/Makefile \ |
---|
42 | ${worksrcpath}/test/Makefile |
---|
43 | } |
---|
44 | |
---|
45 | configure.args --enable-threads \ |
---|
46 | --mandir=${prefix}/share/man |
---|
47 | |
---|
48 | destroot.target install \ |
---|
49 | install-desktop |
---|
50 | |
---|
51 | post-activate { |
---|
52 | system "${prefix}/bin/fltk-config --post fluid" |
---|
53 | } |
---|