Ticket #17569: Portfile.2

File Portfile.2, 1006 bytes (added by cssdev, 16 years ago)

correctly place all dylibs into the destroot

Line 
1# $Id: $
2
3PortSystem 1.0
4
5name            glw
6version         7.2
7categories      x11 devel graphics
8maintainers     css@macports.org
9description     Mesa OpenGL widget library
10homepage        http://www.mesa3d.org/
11platforms       darwin
12long_description SGI Xt/Motif OpenGL widget library
13master_sites    sourceforge:mesa3d
14
15distname        MesaLib-${version}
16use_bzip2       yes
17use_autoconf    yes
18
19checksums       md5     04d379292e023df0b0266825cb0dbde5 \
20                sha1    a6dce814cc56a562890ab79cf4e205f62459a29c \
21                rmd160  1e7c2cc6aa27ebaf7e726ac2086c10a5155d0832
22
23universal_variant no
24
25depends_lib         lib:libX11.6:XFree86 \
26                    lib:libXm.4:openmotif \
27
28post-extract    { file mkdir "${worksrcpath}/lib" }
29
30configure.args-append   --enable-motif
31
32worksrcdir      Mesa-${version}
33build.cmd       cd "${worksrcpath}/src/glw" && make
34build.target
35
36variant darwin {
37        post-configure {
38                reinplace "s|\.so$|\.dylib|g" ${worksrcpath}/configs/current
39                reinplace "s|\$(GLW_LIB_NAME)\\*|libGLw.\*dylib|g" ${worksrcpath}/configs/default
40        }
41}