source: trunk/dports/x11/freeglut/Portfile

Last change on this file was 134539, checked in by jeremyhu@…, 2 years ago

freeglut: Fix case of libGLU dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
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 134539 2015-03-29 09:33:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                freeglut
8version             3.0.0
9categories          x11 graphics
10license             X11
11maintainers         jeremyhu openmaintainer
12description         The Free OpenGL Utility Toolkit
13long_description    ${description}
14
15homepage            http://freeglut.sourceforge.net/
16
17platforms           macosx darwin
18master_sites        sourceforge:project/freeglut/freeglut/${version}
19
20checksums           sha1    fca52242f9344627a30f11487ee42002e6b0dacd \
21                    rmd160  ce4129a22199516ecf24491f0ed026f40c3f5dae \
22                    sha256  2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2
23
24depends_lib         port:mesa \
25                    port:libGLU \
26                    port:xorg-libXrandr \
27                    port:xorg-libXxf86vm
28
29patchfiles \
30    darwin-gl-includes.patch
31
32configure.args-append \
33    -DOPENGL_gl_LIBRARY:FILEPATH=${prefix}/lib/libGL.dylib \
34    -DOPENGL_glu_LIBRARY:FILEPATH=${prefix}/lib/libGLU.dylib \
35    -DFREEGLUT_BUILD_DEMOS:BOOL=OFF \
36    -DFREEGLUT_BUILD_STATIC_LIBS:BOOL=OFF
37
38use_parallel_build yes
Note: See TracBrowser for help on using the repository browser.