Ticket #39863: Portfile-gnome-chemistry-utils.2.diff
File Portfile-gnome-chemistry-utils.2.diff, 2.4 KB (added by c.herbig@…, 11 years ago) |
---|
-
Portfile
old new 7 7 8 8 name gnome-chemistry-utils 9 9 version 0.14.2 10 revision 1 10 11 set major [join [lrange [split ${version} .] 0 1] .] 11 12 12 13 categories gnome science chemistry 13 platforms darwin linux 14 platforms darwin linux freebsd 14 15 maintainers nomaintainer 15 16 license GPL-3 16 17 … … 35 36 36 37 depends_build port:autoconf \ 37 38 port:intltool \ 38 port:gnome-doc-utils \39 39 port:pkgconfig 40 41 depends_lib port:gtk3 \ 42 port:goffice \ 43 port:libxml2 \ 40 41 depends_lib port:goffice \ 44 42 port:gnome-doc-utils \ 45 43 port:openbabel \ 46 44 port:bodr \ … … 48 46 port:gnome-mime-data \ 49 47 port:mesa 50 48 51 depends_run port:yelp52 49 53 50 configure.args --disable-scrollkeeper \ 54 --disable-update-databases 51 --disable-update-databases \ 52 --enable-introspection 53 54 55 configure.compiler llvm-gcc-4.2 55 56 56 57 57 58 # TODO: work with the upstream devs to make a +quartz variant… … … 59 60 # due to <gdk/gdkx.h> and OpenGL dependencies in the code. 60 61 require_active_variants gtk3 x11 61 62 62 notes \63 "Recommended supplementary ports:64 gnome-themes-standard provides the default Gnome Adwaita theme65 gnome-icon-themes provides the default Gnome icon resources"66 63 67 64 post-activate { 68 65 catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"} 69 66 catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"} 67 catch {system "${prefix}/bin/scrollkeeper-update"} 68 catch {system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"} 69 catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"} 70 70 } 71 71 72 72 post-deactivate { 73 73 catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"} 74 74 catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"} 75 75 } 76 77 notes \ 78 "Recommended supplementary ports: 79 gnome-themes-standard provides the default Gnome Adwaita theme 80 yelp provides a help browser for Gnome apps" 81 No newline at end of file