source: trunk/dports/gnome/libunique3/Portfile @ 115615

Last change on this file since 115615 was 115615, checked in by cal@…, 5 years ago

add gtk3-devel port at the request of devans, rewrite dependencies to be satisfyable using gtk3-devel, closes #42040

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 115615 2014-01-07 00:28:17Z cal@macports.org $
3
4PortSystem      1.0
5
6name            libunique3
7set gname       libunique
8version         3.0.2
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     Unique is a library for writing single instance applications.
11long_description \
12                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        http://live.gnome.org/LibUnique
21master_sites    gnome:sources/${gname}/${branch}/
22
23use_xz          yes
24distname        ${gname}-${version}
25
26checksums       rmd160  dca2ee6d37f459acf38b5623626e3885c942353f \
27                sha256  a8f02ce073e2b920cca8ac45d418e7cb64438ad0814780c5912c6d63f8a4e038
28
29depends_build   port:pkgconfig
30
31depends_lib     path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
32                port:dbus-glib \
33                port:gobject-introspection
34
35configure.args  --enable-maintainer-flags=no \
36                --enable-introspection \
37                --without-x
38
39# gobject-introspection uses g-ir-scanner, which uses $CC from env
40build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
41
42# Legacy no_x11 variant to be removed after June 2014.
43variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
44
45variant x11 conflicts no_x11 {
46    depends_lib-append    port:xorg-libX11
47    configure.args-append --x-includes=${prefix}/include \
48                          --x-libraries=${prefix}/lib
49    configure.args-delete --without-x
50}
51
52if {[variant_isset no_x11]} {
53    default_variants -x11
54} else {
55    default_variants +x11
56}
57
58livecheck.type  gnome
59livecheck.name  ${gname}
Note: See TracBrowser for help on using the repository browser.