Skip to content
Permalink
Browse files

python{24,25,30}: fix targets of framework symlinks

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@37846 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Jun 26, 2008
1 parent 31fff15 commit ef0fe4611915f5376bb9f5114a469aa3b7874948
Showing with 9 additions and 9 deletions.
  1. +3 −3 lang/python24/Portfile
  2. +3 −3 lang/python25/Portfile
  3. +3 −3 lang/python30/Portfile
@@ -4,7 +4,7 @@ PortSystem 1.0

name python24
version 2.4.5
revision 2
revision 3
set major 2
set branch 2.4
categories lang
@@ -76,11 +76,11 @@ post-destroot {

foreach dir { lib include } {
file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}
ln -s ${destroot}${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
}

file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
ln -s ${destroot}${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib

file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1

@@ -4,7 +4,7 @@ PortSystem 1.0

name python25
version 2.5.2
revision 3
revision 4
set major 2
set branch 2.5
categories lang
@@ -73,11 +73,11 @@ post-destroot {

foreach dir { lib include } {
file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}
ln -s ${destroot}${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
}

file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
ln -s ${destroot}${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib

file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1

@@ -4,7 +4,7 @@ PortSystem 1.0

name python30
version 3.0a3
revision 4
revision 5
set major 3
set branch 3.0
categories lang
@@ -54,11 +54,11 @@ post-destroot {

foreach dir { lib include } {
file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}
ln -s ${destroot}${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
}

file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
ln -s ${destroot}${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib

file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1

0 comments on commit ef0fe46

Please sign in to comment.
You can’t perform that action at this time.