# $Id: Portfile 41141 2008-10-25 20:07:49Z blb@macports.org $ PortSystem 1.0 name fltk version 1.1.9 categories aqua devel platforms macosx maintainers nomaintainer description Fast Light Tool Kit long_description \ FLTK (pronounced fulltick) \ is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), \ Microsoft Windows, and Mac OS X. \ FLTK provides modern GUI functionality without the bloat \ and supports 3D graphics via OpenGL and \ its built-in GLUT emulation. \ \ FLTK is designed to be small and modular enough to be \ statically linked, but works fine as a shared library. \ FLTK also includes an excellent UI builder called FLUID \ that can be used to create applications in minutes. homepage http://www.fltk.org/ master_sites http://ftp.easysw.com/pub/fltk/${version}/ worksrcdir ${name}-${version} distname ${worksrcdir}-source use_bzip2 yes checksums md5 e146fd264e1001b1313acfd41ef75552 \ sha1 6f21903dc53c829ec71e8e49655eb19e624c8247 \ rmd160 f22e83fc9fd5e8bc10f0eea55e1a4df2ba132d91 depends_lib port:jpeg \ port:libpng \ port:zlib # Can be removed once MacPorts 1.7.0 is released if {![info exists applications_dir]} { set applications_dir /Applications/MacPorts } post-patch { reinplace "s|/Applications|${applications_dir}/${name}|g" \ ${worksrcpath}/fluid/Makefile \ ${worksrcpath}/test/Makefile } configure.args --enable-threads \ --mandir=${prefix}/share/man use_parallel_build yes destroot.target install \ install-desktop post-activate { system "${prefix}/bin/fltk-config --post fluid" }