1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 104953 2013-04-05 23:34:31Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name py27-gtkglext |
---|
7 | version 1.1.0 |
---|
8 | revision 1 |
---|
9 | categories python gnome |
---|
10 | maintainers nomaintainer |
---|
11 | platforms darwin |
---|
12 | description Python bindings for GtkGLExt |
---|
13 | long_description ${description} |
---|
14 | homepage http://sourceforge.net/projects/gtkglext/ |
---|
15 | master_sites sourceforge:gtkglext |
---|
16 | distname pygtkglext-${version} |
---|
17 | checksums md5 dfbe2ceb05db9265a7d94b209fa8ad97 |
---|
18 | depends_build port:pkgconfig |
---|
19 | depends_lib port:gtkglext \ |
---|
20 | port:py27-pygtk \ |
---|
21 | port:py27-opengl |
---|
22 | configure.python ${prefix}/bin/python2.7 |
---|
23 | configure.args PKG_CONFIG_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/ |
---|
24 | |
---|
25 | platform darwin 9 { |
---|
26 | configure.ldflags-append "-L/usr/X11/lib -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" |
---|
27 | |
---|
28 | post-extract { |
---|
29 | reinplace "s| -export-symbols-regex.*||g" \ |
---|
30 | ${worksrcpath}/gtk/gdkgl/Makefile.in \ |
---|
31 | ${worksrcpath}/gtk/gtkgl/Makefile.in |
---|
32 | } |
---|
33 | } |
---|