9 : ${MACLIBDIR:=/sw/lib}
13 otool -L "$1" | grep "$MACLIBDIR" | while read -r LIB STUFF; do
14 [ -z "${LIB##*:}" ] && continue # first line
15 [ -f "$INSTALLDIR/${LIB##*/}" ] && continue
16 cp -vL "$LIB" "$INSTALLDIR"
21 finkgetdeps "$INSTALLDIR/radiant.$EXE"
22 echo Warning: this only works if only ONE version of gtk-2.0 and pango is installed
24 for LIB in "$MACLIBDIR"/gtk-2.0/*/loaders/libpixbufloader-bmp.so; do
27 cp -L "$LAST" "$INSTALLDIR"
30 for LIB in "$MACLIBDIR"/pango/*/modules/pango-basic-fc.so; do
33 cp -L "$LAST" "$INSTALLDIR"
36 for LIB in "$MACLIBDIR"/pango/*/modules/pango-basic-x.so; do
39 cp -L "$LAST" "$INSTALLDIR"