# -*- 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 # $Id: Portfile 116636 2014-01-31 23:34:56Z devans@macports.org $ PortSystem 1.0 name libunique3 set gname libunique version 3.0.2 set branch [join [lrange [split ${version} .] 0 1] .] description Unique is a library for writing single instance applications. long_description \ Unique is a library for writing single instance applications. \ If you launch a single instance application twice, the second \ instance will either just quit or will send a message to the \ running instance. maintainers devans openmaintainer categories gnome devel platforms darwin license LGPL-2.1+ homepage https://wiki.gnome.org/Attic/LibUnique master_sites gnome:sources/${gname}/${branch}/ use_xz yes distname ${gname}-${version} checksums rmd160 dca2ee6d37f459acf38b5623626e3885c942353f \ sha256 a8f02ce073e2b920cca8ac45d418e7cb64438ad0814780c5912c6d63f8a4e038 depends_build port:pkgconfig depends_lib port:gtk3 \ port:dbus-glib \ port:gobject-introspection configure.args --enable-maintainer-flags=no \ --enable-introspection \ --without-x # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" # Legacy no_x11 variant to be removed after June 2014. variant no_x11 conflicts x11 description {Legacy compatibility variant} {} variant x11 conflicts no_x11 { depends_lib-append port:xorg-libX11 configure.args-append --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib configure.args-delete --without-x } if {[variant_isset no_x11]} { default_variants -x11 } else { default_variants +x11 } livecheck.type gnome livecheck.name ${gname}