1 | # $Id: Portfile 31397 2007-11-22 10:04:31Z takanori@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | set pyver 2.5 |
---|
6 | set pybranch 25 |
---|
7 | |
---|
8 | name py${pybranch}-visual |
---|
9 | version 3.2.9 |
---|
10 | categories python graphics |
---|
11 | platforms darwin |
---|
12 | maintainers raimue \ |
---|
13 | openmaintainer |
---|
14 | |
---|
15 | description VPython, a python module for 3D graphics |
---|
16 | long_description \ |
---|
17 | VPython provides a module for 3D graphics and visualization |
---|
18 | homepage http://vpython.org/ |
---|
19 | |
---|
20 | master_sites sourceforge:visualpython \ |
---|
21 | http://vpython.org/download |
---|
22 | distname visual-${version} |
---|
23 | use_bzip2 yes |
---|
24 | |
---|
25 | checksums md5 58e46ecb628a4fdbb5c58540b6cbede1 \ |
---|
26 | sha1 d64f32ffacc75a59e7703d2c51bd93b842038421 \ |
---|
27 | rmd160 49cfd441577c2a49dda1cd48b55b5e72e0968c27 |
---|
28 | |
---|
29 | depends_lib \ |
---|
30 | port:python${pybranch} \ |
---|
31 | port:gtkglarea \ |
---|
32 | port:boost |
---|
33 | |
---|
34 | patch { |
---|
35 | reinplace {s/-lboost_python/-lboost_python-mt -lpython${pyver}/g} ${worksrcpath}/src/Makefile.in |
---|
36 | } |
---|
37 | |
---|
38 | platform darwin 9 { |
---|
39 | configure.ldflags-append \ |
---|
40 | -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ |
---|
41 | /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib |
---|
42 | } |
---|