--- Portfile.orig	2015-05-06 17:01:49.000000000 +0200
+++ Portfile	2015-10-07 10:34:08.000000000 +0200
@@ -179,60 +179,6 @@
     }
 }
 
-post-destroot {
-
-    # if qwt is installed as a framework,
-    # link in as libraries and headers too
-
-    if {[file exists ${destroot}${qt_frameworks_dir}/qwt.framework/qwt]} {
-
-        global qwt_major, qwt_minor, qwt_patch
-        foreach fixfile [exec find ${destroot}${qt_frameworks_dir} \
-                             -name "*.framework" | \
-                             sed -e "s@${destroot}@@g"] {
-
-            set tf_full [strsed ${fixfile} {s@\\.framework@@}]
-            set tf [strsed ${tf_full} {g@.*\/@@}]
-
-            # link headers into ${qt_includes_dir}, removing
-            # directories if they are already there first
-
-            set inc_file ${destroot}${qt_includes_dir}/${tf}
-            if {[file exists ${inc_file}]} {
-                file delete -force ${inc_file}
-            }
-            ln -s ${tf_full}.framework/Headers ${inc_file}
-
-            # link libraries into ${qt_libs_dir}
-
-            set libs_dir ${destroot}${qt_libs_dir}
-
-            ln -s ${tf_full}.framework/${tf} \
-                ${libs_dir}/lib${tf}.dylib
-            ln -s ${tf_full}.framework/${tf} \
-                ${libs_dir}/lib${tf}.${qwt_major}.dylib
-            ln -s ${tf_full}.framework/${tf} \
-                ${libs_dir}/lib${tf}.${qwt_major}.${qwt_minor}.dylib
-            ln -s ${tf_full}.framework/${tf} \
-                ${libs_dir}/lib${tf}.${qwt_major}.${qwt_minor}.${qwt_patch}.dylib
-
-            if {[variant_isset debug]} {
-
-                # link debug libraries into ${qt_libs_dir}
-
-                ln -s ${tf_full}.framework/${tf}_debug \
-                    ${libs_dir}/lib${tf}_debug.dylib
-                ln -s ${tf_full}.framework/${tf}_debug \
-                    ${libs_dir}/lib${tf}_debug.${qwt_major}.dylib
-                ln -s ${tf_full}.framework/${tf}_debug \
-                    ${libs_dir}/lib${tf}_debug.${qwt_major}.${qwt_minor}.dylib
-                ln -s ${tf_full}.framework/${tf}_debug \
-                    ${libs_dir}/lib${tf}_debug.${qwt_major}.${qwt_minor}.${qwt_patch}.dylib
-
-            }
-        }
-    }
-}
 
 variant debug description "Build release and debug versions" {}
 
