# -*- coding: utf-8; 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 # $Id: Portfile 151191 2016-08-09 19:24:56Z mf2k@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name gtkglextmm version 1.2.0 revision 1 categories devel license LGPL-2.1+ maintainers nomaintainer description OpenGL Extension to GTK, C++ bindings long_description \ ${description} homepage http://sourceforge.net/projects/gtkglext/ platforms darwin master_sites sourceforge:gtkglext checksums md5 6296b82bde8daa68452b2f0b4dadcb9e \ sha1 5cd489e07517a88262cd6050f723227664e82996 \ rmd160 2dd9122f8991b2cbfd839ab0aaa6dd444751b7b0 depends_build \ port:pkgconfig depends_lib \ port:gtkglext \ port:gtkmm configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib # Fix build issue where build fails due to GDK_DISABLE_DEPRECATED being enabled. # The order in which files are included matters here. gtkmm does some funky # stuff to undefine GDK_DISABLE_DEPRECATED, if defined, before including gdk.h # as it needs some deprecated functionality. Including gtkglwidget.h before # widget.h causes gdk.h to be included without GDK_DISABLE_DEPRECATED being # undefined, and gtkmm never gets the chance to work its undefine magic. patchfiles patch-gtkglext_gtkmm_gl-widget.cc.diff