source: trunk/dports/gnome/libunique3/Portfile

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

libunique3: use gobject_introspection, remove legacy variant +no_x11.

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