Ticket #41942: patch-Portfile.diff

File patch-Portfile.diff, 2.0 KB (added by dbevans (David B. Evans), 10 years ago)

Preliminary patch for Portfile

  • Portfile

    old new  
    2727checksums           sha256 33590e3964092cabb629a6ba8415786b054702063a944eca5fe4156048baf8d9 \
    2828                    rmd160 5ccc191da5ece02691222d57e7b79798b423e9c0
    2929
    30 depends_build       port:pkgconfig \
    31                     port:gconf \
     30depends_lib         port:desktop-file-utils \
     31                    port:dconf \
     32                    port:gsettings-desktop-schemas \
    3233                    port:libgtop \
    3334                    port:glibmm \
    3435                    port:gtkmm3 \
    3536                    port:gtksourceviewmm3 \
    3637                    port:vte \
    3738                    port:gdb \
    38                     port:boost \
    39                     port:itstool
     39                    port:boost
    4040
    41 depends_lib         port:itstool \
     41depends_build       port:pkgconfig \
     42                    port:itstool \
    4243                    port:libxml2 \
    4344                    port:libxslt \
    44                     port:yelp-xsl
     45                    port:yelp-xsl \
     46                    port:yelp-tools
     47
     48depends_run         port:yelp \
     49                    port:gnome-settings-daemon
    4550
    4651patchfiles          nemiver-tr1-osx-patch.diff
    4752
    48 configure.args      --with-default-gdb=${prefix}/bin/ggdb \
    49                     --disable-schemas-install \
     53use_autoreconf      yes
     54autoreconf.args     -fvi
     55
     56configure.args      --enable-gsettings=yes \
     57                    --with-default-gdb=${prefix}/bin/ggdb \
     58                    --disable-schemas-compile \
    5059                    --disable-silent-rules
    5160
    52 livecheck.type      gnome
     61# port installs .desktop files, hicolor icons and gsettings schemas
     62# update-desktop-database is provided by desktop-file-utils
     63
     64post-activate {
     65    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     66    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
     67    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
     68}
     69
     70livecheck.type      gnome-with-unstable