Changeset 146599


Ignore:
Timestamp:
Mar 12, 2016, 11:33:34 PM (4 years ago)
Author:
devans@…
Message:

dia: add +quartz variant, update dependencies, post-activate processing, increment revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/dia/Portfile

    r146598 r146599  
    33
    44PortSystem          1.0
     5PortGroup           active_variants 1.1
    56
    67name                dia
    78version             0.97.3
     9revision            1
    810set branch          [join [lrange [split ${version} .] 0 1] .]
    911maintainers         nomaintainer
     
    4749                    path:lib/pkgconfig/pango.pc:pango \
    4850                    port:popt \
     51                    port:shared-mime-info \
    4952                    port:zlib
    5053
    51 depends_run         port:librsvg
     54depends_run         port:librsvg \
     55                    port:gnome-themes-standard
    5256
    5357patchfiles          patch-autogen.sh.diff \
     
    6872
    6973post-activate {
     74    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
    7075    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    7176    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
    7277}
    7378
    74 livecheck.type      gnome-with-unstable
     79variant quartz {}
     80
     81if {[variant_isset quartz]} {
     82    require_active_variants gtk2 quartz
     83} else {
     84    require_active_variants gtk2 x11
     85}
    7586
    7687variant python27 description {Add python 2.7 bindings} {
     
    8596                            am_cv_python_pythondir=${python_prefix}
    8697}
     98
     99livecheck.type      gnome-with-unstable
Note: See TracChangeset for help on using the changeset viewer.