mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.8 KiB
Tcl
50 lines
1.8 KiB
Tcl
# -*- 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 gobject_introspection 1.0
|
|
|
|
name libunique
|
|
version 1.1.6
|
|
revision 11
|
|
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 @dbevans} openmaintainer
|
|
categories gnome devel
|
|
platforms darwin
|
|
license LGPL-2.1+
|
|
homepage https://wiki.gnome.org/Attic/LibUnique
|
|
master_sites gnome:sources/${name}/${branch}/
|
|
|
|
checksums rmd160 15ae8cc81f978554395fcb194ecb11c7bc6a1938 \
|
|
sha256 2cb918dde3554228a211925ba6165a661fd782394bd74dfe15e3853dc9c573ea
|
|
|
|
patchfiles patch-g_const_return.diff
|
|
patch.pre_args-replace -p0 -p1
|
|
|
|
depends_build port:pkgconfig
|
|
|
|
depends_lib path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
|
|
port:dbus-glib \
|
|
port:dbus
|
|
|
|
gobject_introspection yes
|
|
|
|
configure.args --enable-maintainer-flags=no \
|
|
--without-x
|
|
|
|
variant x11 {
|
|
depends_lib-append port:xorg-libX11
|
|
configure.args-append --x-includes=${prefix}/include \
|
|
--x-libraries=${prefix}/lib
|
|
configure.args-delete --without-x
|
|
}
|
|
|
|
default_variants +x11
|
|
|
|
livecheck.type gnome
|
|
livecheck.regex {LATEST-IS-(1\.\d*(?:\.\d+)*)}
|