source: trunk/dports/gnome/libunique/Portfile @ 115045

Last change on this file since 115045 was 115045, checked in by devans@…, 6 years ago

libunique: rebuild to remove references to libpng15.

  • 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 115045 2013-12-23 07:02:37Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libunique
7version         1.1.6
8revision        9
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/${name}/${branch}/
22
23checksums       md5     8c0210ca39ca4eedcb6b09b52b479dc3 \
24                sha1    ff9a50781291212d97df0d21ac4bbdbd8443d210 \
25                rmd160  15ae8cc81f978554395fcb194ecb11c7bc6a1938
26
27patchfiles      patch-g_const_return.diff
28patch.pre_args  -p1
29
30depends_build   port:pkgconfig
31
32depends_lib     port:gtk2 \
33                port:dbus-glib \
34                port:gobject-introspection
35
36configure.args  --enable-maintainer-flags=no \
37                --enable-introspection \
38                --without-x
39
40# gobject-introspection uses g-ir-scanner, which uses $CC from env
41build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
42
43# Legacy no_x11 variant to be removed after June 2014.
44variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
45
46variant x11 conflicts no_x11 {
47    depends_lib-append    port:xorg-libX11
48    configure.args-append --x-includes=${prefix}/include \
49                          --x-libraries=${prefix}/lib
50    configure.args-delete --without-x
51}
52
53if {[variant_isset no_x11]} {
54    default_variants -x11
55} else {
56    default_variants +x11
57}
58
59livecheck.type  gnome
60livecheck.regex {LATEST-IS-(1\.\d*(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.