1 | # $Id: Portfile 91184 2012-03-25 08:25:43Z jeremyhu@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name blt |
---|
5 | version 2.5.3 |
---|
6 | revision 0 |
---|
7 | categories x11 |
---|
8 | maintainers markd |
---|
9 | description BLT is an extension to the Tk toolkit, adding new widgets, \ |
---|
10 | geometry managers, and miscellaneous commands. |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | homepage http://blt.sourceforge.net/ |
---|
14 | platforms darwin |
---|
15 | |
---|
16 | master_sites http://sourceforge.net/projects/wize/files |
---|
17 | distname blt-src-$version |
---|
18 | worksrcdir blt2.5 |
---|
19 | use_zip yes |
---|
20 | checksums md5 1cfa4ff086e7b7e1751a3ef44b209401 |
---|
21 | |
---|
22 | depends_build \ |
---|
23 | port:tcl \ |
---|
24 | port:tk |
---|
25 | |
---|
26 | # Project bug |
---|
27 | # http://trac.macports.org/ticket/32599 |
---|
28 | if {${configure.compiler} == "clang"} { |
---|
29 | configure.compiler llvm-gcc-4.2 |
---|
30 | } |
---|
31 | |
---|
32 | configure.cppflags "-L${prefix}/lib" |
---|
33 | |
---|
34 | configure.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 | |
---|
45 | post-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 | } |
---|