Ticket #7078: devel_boost_Portfile.diff
File devel_boost_Portfile.diff, 967 bytes (added by bfulgham@…, 19 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name boost 6 version 1.33. 06 version 1.33.1 7 7 categories devel 8 8 maintainers michel.salim@gmail.com 9 9 description Collection of portable C++ source libraries … … 14 14 master_sites sourceforge 15 15 distname ${name}_[strsed ${version} {g/[.]/_/}] 16 16 use_bzip2 yes 17 checksums md5 43d87bbd827a8299f408df5efe5f0fd817 checksums md5 2b999b2fb7798e1737d1fff8fac602ef 18 18 platforms darwin 19 19 20 20 depends_build bin:bjam:boost-jam … … 35 35 destroot.args-append -sTOOLS=darwin 36 36 post-destroot { 37 37 cd ${destroot}${prefix}/lib 38 set libver [join [lrange [split ${version} {.}] 0 1] {_}]38 set libver [join [lrange [split ${version} {.}] 0 2] {_}] 39 39 foreach lib [glob *-${libver}.a *-${libver}.dylib] { 40 40 set libname [join [lrange [split [file rootname ${lib}] {-}] 0 end-1] {-}] 41 41 set libext [file extension ${lib}]