Ticket #33389: Portfile

File Portfile, 1.2 KB (added by thetawaves@…, 13 years ago)

Copy of py25-gtkglext with some version numbers changed to target python2.6

Line 
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 50307 2009-04-29 00:14:58Z devans@macports.org $
3
4PortSystem 1.0
5
6name            py26-gtkglext
7version         1.1.0
8categories      python gnome
9maintainers     nomaintainer
10platforms       darwin
11description     Python bindings for GtkGLExt
12long_description ${description}
13homepage        http://sourceforge.net/projects/gtkglext/
14master_sites    sourceforge:gtkglext
15distname        pygtkglext-${version}
16checksums       md5 dfbe2ceb05db9265a7d94b209fa8ad97
17depends_lib     port:gtkglext \
18                port:py26-gtk \
19                port:py26-opengl
20configure.python ${prefix}/bin/python2.6
21
22platform darwin 9 {
23    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"
24
25    post-extract {
26        reinplace "s| -export-symbols-regex.*||g" \
27            ${worksrcpath}/gtk/gdkgl/Makefile.in \
28            ${worksrcpath}/gtk/gtkgl/Makefile.in
29    }
30}
31
32livecheck.regex "<title>pygtkglext (.*) released.*</title>"