source: trunk/dports/devel/gtkglextmm/Portfile

Last change on this file was 151191, checked in by mf2k@…, 14 months ago

d-mode.el gtkglextmm php-mode.el planner py-cssutils speex speex-devel uif2iso: Ports abandoned. (#51782)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 151191 2016-08-09 19:24:56Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               muniversal 1.0
6
7name                    gtkglextmm
8version                 1.2.0
9revision        1
10
11categories              devel
12license                 LGPL-2.1+
13maintainers             nomaintainer
14description             OpenGL Extension to GTK, C++ bindings
15
16long_description        \
17    ${description}
18
19homepage                http://sourceforge.net/projects/gtkglext/
20platforms               darwin
21master_sites            sourceforge:gtkglext
22
23checksums               md5     6296b82bde8daa68452b2f0b4dadcb9e \
24                        sha1    5cd489e07517a88262cd6050f723227664e82996 \
25                        rmd160  2dd9122f8991b2cbfd839ab0aaa6dd444751b7b0
26depends_build \
27    port:pkgconfig
28depends_lib \
29        port:gtkglext \
30        port:gtkmm
31
32configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib
33
34# Fix build issue where build fails due to GDK_DISABLE_DEPRECATED being enabled.
35# The order in which files are included matters here. gtkmm does some funky
36# stuff to undefine GDK_DISABLE_DEPRECATED, if defined, before including gdk.h
37# as it needs some deprecated functionality. Including gtkglwidget.h before
38# widget.h causes gdk.h to be included without GDK_DISABLE_DEPRECATED being
39# undefined, and gtkmm never gets the chance to work its undefine magic.
40patchfiles              patch-gtkglext_gtkmm_gl-widget.cc.diff
Note: See TracBrowser for help on using the repository browser.