source: trunk/dports/gnome/libunique/Portfile

Last change on this file was 132109, checked in by devans@…, 2 years ago

libunique: use gobject_introspection portgroup.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 132109 2015-01-23 15:58:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                libunique
8version             1.1.6
9revision            9
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         Unique is a library for writing single instance applications.
12long_description    Unique is a library for writing single instance applications. \
13                    If you launch a single instance application twice, the second \
14                    instance will either just quit or will send a message to the \
15                    running instance.
16maintainers         devans openmaintainer
17categories          gnome devel
18platforms           darwin
19license             LGPL-2.1+
20homepage            https://wiki.gnome.org/Attic/LibUnique
21master_sites        gnome:sources/${name}/${branch}/
22
23checksums           rmd160  15ae8cc81f978554395fcb194ecb11c7bc6a1938 \
24                    sha256  2cb918dde3554228a211925ba6165a661fd782394bd74dfe15e3853dc9c573ea
25
26patchfiles          patch-g_const_return.diff
27patch.pre_args      -p1
28
29depends_build       port:pkgconfig
30
31depends_lib         port:gtk2 \
32                    port:dbus-glib
33
34gobject_introspection yes
35
36configure.args      --enable-maintainer-flags=no \
37                    --without-x
38
39variant x11 {
40    depends_lib-append      port:xorg-libX11
41    configure.args-append   --x-includes=${prefix}/include \
42                            --x-libraries=${prefix}/lib
43    configure.args-delete   --without-x
44}
45
46default_variants    +x11
47
48livecheck.type      gnome
49livecheck.regex     {LATEST-IS-(1\.\d*(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.