# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup meson 1.0 name libnotify version 0.8.3 set branch [join [lrange [split ${version} .] 0 1] .] categories devel gnome maintainers nomaintainer description pop-up notification library long_description \ The Desktop Notifications framework provides a standard way of doing \ passive pop-up notifications. license LGPL-2.1+ homepage http://library.gnome.org/devel/libnotify/ master_sites gnome:sources/${name}/${branch} use_xz yes checksums rmd160 d3b0264dfc691256ecb0198ac899270095fb4230 \ sha256 ee8f3ef946156ad3406fdf45feedbdcd932dbd211ab4f16f75eba4f36fb2f6c0 \ size 106008 depends_build-append \ port:pkgconfig \ port:docbook-xsl-ns \ port:libxslt \ port:xmlto depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:xorg-libsm # disable generation of API docs which uses broken gi-docgen configure.args -Dgtk_doc=false # ensure g-ir-scanner uses correct link command build.env-append "CC=${configure.cc} [get_canonical_archflags cc]" platform darwin 8 { # meson on Tiger cannot use rpaths, so we workaround with this to find dylib destroot.env-append "DYLD_LIBRARY_PATH=${build_dir}/libnotify" } pre-activate { if {${os.major} == 11 && ${os.minor} < 2 && ${os.platform} eq "darwin"} { ui_error "You must first update to OS X 10.7.2." return -code error "You must first update to OS X 10.7.2." } } livecheck.type gnome-with-unstable