pkg:setup globus = Formula["globus-toolkit"].opt_prefix inreplace "configure", "globus_location/include/globus/gcc64dbg", "globus_location/libexec/include" inreplace "configure", "globus_location/lib64", "globus_location/libexec/lib" pkg:configure --with-globus=#{globus} make make DESTDIR=${PKG_DEST} install