Ticket #32599: Portfile-blt2.5-incomplete

File Portfile-blt2.5-incomplete, 1.6 KB (added by gustafn, 12 years ago)
Line 
1# $Id: Portfile 91184 2012-03-25 08:25:43Z jeremyhu@macports.org $
2PortSystem      1.0
3
4name                    blt
5version                 2.5.3
6revision                0
7categories              x11
8maintainers             markd
9description             BLT is an extension to the Tk toolkit, adding new widgets, \
10                        geometry managers, and miscellaneous commands.
11long_description        ${description}
12 
13homepage                http://blt.sourceforge.net/
14platforms               darwin
15
16master_sites            http://sourceforge.net/projects/wize/files
17distname                blt-src-$version
18worksrcdir              blt2.5
19use_zip                 yes
20checksums               md5 1cfa4ff086e7b7e1751a3ef44b209401
21
22depends_build           \
23                        port:tcl \
24                        port:tk
25
26# Project bug
27# http://trac.macports.org/ticket/32599
28if {${configure.compiler} == "clang"} {
29    configure.compiler llvm-gcc-4.2
30}
31
32configure.cppflags      "-L${prefix}/lib"
33
34configure.args          --exec_prefix=${prefix} \
35                        --bindir=${prefix}/bin \
36                        --includedir=${prefix}/include \
37                        --libdir=${prefix}/lib \
38                        --with-tcllibs=${prefix}/lib \
39                        --with-tklibs=${prefix}/lib \
40                        --with-tclincls=${prefix}/include \
41                        --with-tkincls=${prefix}/include \
42                        --with-tcl=${prefix} \
43                        --with-tk=${prefix}
44
45post-destroot {
46        #system "cd ${destroot}${prefix}/lib && ln -sf libBLT.2.4.dylib libBLT.2.dylib"
47        #system "cd ${destroot}${prefix}/lib && ln -sf libBLT.2.4.dylib libBLT.dylib"
48        #system "cd ${destroot}${prefix}/lib && ln -sf libBLTlite.2.4.dylib libBLTlite.2.dylib"
49        #system "cd ${destroot}${prefix}/lib && ln -sf libBLTlite.2.4.dylib libBLTlite.dylib"
50}