Ticket #14992: gwyddion-databases.diff

File gwyddion-databases.diff, 792 bytes (added by jmroot (Joshua Root), 17 years ago)

fix

  • science/gwyddion/Portfile

     
    2727                port:fftw-3 \
    2828                port:gtkglext
    2929
     30configure.args  --disable-desktop-file-update
     31
    3032platform darwin 9 {
    3133                set darwin_9_glpath   /System/Library/Frameworks/OpenGL.framework/Versions/
    3234                configure.ldflags -Wl,-dylib_file,${darwin_9_glpath}/A/Libraries/libGL.dylib:\
    3335                    ${darwin_9_glpath}/A/Libraries/libGL.dylib
    3436}
    3537
     38post-activate {
     39    system "${prefix}/bin/update-mime-database ${prefix}/share/mime ; true"
     40    system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications ; true"
     41}