[29408] trunk/dports/devel/boost/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 22 23:37:43 PDT 2007
Revision: 29408
http://trac.macosforge.org/projects/macports/changeset/29408
Author: ryandesign at macports.org
Date: 2007-09-22 23:37:43 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
boost: update to 1.34.1, consolidate post-install section with symlink fix, change the library/include suffixes to use the 1_34_1 naming convention. Approved by port maintainer; closes #12619
Modified Paths:
--------------
trunk/dports/devel/boost/Portfile
Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile 2007-09-23 06:31:25 UTC (rev 29407)
+++ trunk/dports/devel/boost/Portfile 2007-09-23 06:37:43 UTC (rev 29408)
@@ -3,7 +3,7 @@
PortSystem 1.0
name boost
-version 1.34.0
+version 1.34.1
revision 1
categories devel
maintainers sanchom at gmail.com
@@ -15,7 +15,7 @@
master_sites sourceforge
distname ${name}_[strsed ${version} {g/[.]/_/}]
use_bzip2 yes
-checksums md5 ed5b9291ffad776f8757a916e1726ad0
+checksums md5 2d938467e8a448a2c9763e0a9f8ca7e5
platforms darwin
depends_build bin:bjam:boost-jam
@@ -25,8 +25,8 @@
cd ${destroot}${prefix}/lib
# get the library version as it shows up in the library names:
- # eg. 1_34
- set libver [join [lrange [split ${version} {.}] 0 1] {_}]
+ # eg. 1_34_1
+ set libver [join [lrange [split ${version} {.}] 0 2] {_}]
# ensure the identification name of the dynamic libraries agree
# with their final destination path (not the destroot path that
@@ -63,6 +63,10 @@
# add a symbolic link instead
system "ln -s ${lib} ${liblink}"
}
+
+ # create a symbolic link in the include directory pointing to the current
+ # version of the boost include directory (e.g. boost-1_34_1/boost -> include/boost)
+ system "ln -fs boost-${libver}/boost ${destroot}${prefix}/include/boost"
}
}
@@ -72,11 +76,6 @@
configure.args --without-libraries=python --without-icu
-post-destroot {
- set incdirver [join [lrange [split ${version} {.}] 0 1] {_}]
- system "ln -fs boost-${incdirver}/boost ${destroot}${prefix}/include/boost"
-}
-
variant python24 {
set pyversion 2.4
depends_lib lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070922/c5ef6475/attachment.html
More information about the macports-changes
mailing list