Ticket #3700: Portfile.diff

File Portfile.diff, 940 bytes (added by yves@…, 19 years ago)

Port file diff for Darwin

  • Portfile

    old new  
    66version         3.7
    77description     The OpenGL Utility Toolkit (GLUT)
    88long_description An indispensible toolkit for OpenGL programmers, this provides many of the windowing and input management primitives that OpenGL itself does not deal with.
    9 maintainers     darwinports@opendarwin.org
     9maintainers     yves@opendarwin.org
    1010categories      x11 graphics
    1111platforms       darwin
    1212master_sites    http://www.opengl.org/resources/libraries/glut/
    1313homepage        http://www.opengl.org/resources/libraries/glut.html
    14 use_xmkmf       yes
    1514checksums       md5 dc932666e2a1c8a0b148a4c32d111ef3
    1615patchfiles      patch-glutbitmap.h patch-round_cap.c patch-segment.c
    1716
    1817depends_lib     lib:libGL.1:XFree86 lib:libX11.6:XFree86
    1918
     19configure {
     20    system "cd ${worksrcpath} && ./mkmkfiles.imake"
     21}
     22
    2023pre-build {
    2124        system "cp ${worksrcpath}/include/GL/glut.h ${worksrcpath}/lib/glut"
    2225}