source: trunk/dports/x11/gtkglarea2/Portfile @ 44757

Last change on this file since 44757 was 44757, checked in by jeremyhu@…, 11 years ago

gtkglarea2: autoreconf to update configure for universal variant. Fixed X11 dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 44757 2009-01-03 01:06:14Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name                    gtkglarea2
6version                 1.99.0
7categories              x11 devel
8maintainers             nomaintainer
9description             OpenGL widget to GTK+
10homepage                ftp://ftp.gnome.org/mirror/gnome.org/sources/gtkglarea/
11platforms               darwin
12long_description        Just as GTK+ is build on top of GDK, GtkGLArea is built on top of \
13                        gdkgl which is basically wrapper around GLX functions. The widget \
14                        itself is very similar to GtkDrawinigArea widget and adds only three \
15                        extra functions. Lower level gdkgl functions make it easy to render \
16                        on any widget that has OpenGL capable visual, rendering to off-screen \
17                        pixmaps is also supported.
18master_sites            ftp://ftp.gnome.org/mirror/gnome.org/sources/gtkglarea/1.99/
19distname                gtkglarea-${version}
20use_bzip2               yes
21checksums               md5 cd69f77240ae8038f95a2e5e0b7e5f25 \
22                        sha1 5a4e7f37a7cbf628cde948ac0f95d8d810b1a007
23depends_lib \
24        lib:libGLU.1:mesa \
25        port:gtk2
26configure.ccache        no
27
28use_autoreconf yes
29autoreconf.args -fvi
30
31pre-configure {
32        if { [file exists ${x11prefix}/lib/libGL.dylib ] } {
33                configure.post_args --with-GL-prefix=${x11prefix}
34        } else {
35                configure.post_args --with-GL-prefix=${prefix}
36        }
37}
Note: See TracBrowser for help on using the repository browser.