source: trunk/dports/net/unison/Portfile @ 131367

Last change on this file since 131367 was 131367, checked in by ryandesign@…, 4 years ago

unison: update to 2.48.3 (#46505)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 131367 2015-01-10 15:44:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                unison
7version             2.48.3
8categories          net
9maintainers         nomaintainer
10license             GPL-3
11description         Unison File Synchronizer
12long_description    Unison is a file-synchronization tool for Unix and \
13                    Windows. It allows two replicas of a collection of \
14                    files and directories to be stored on different \
15                    hosts (or different disks on the same host), \
16                    modified separately, and then brought up to date by \
17                    propagating the changes in each replica to the other.
18homepage            http://www.cis.upenn.edu/~bcpierce/unison/
19master_sites        ${homepage}download/releases/${name}-${version}/
20platforms           darwin openbsd
21checksums           rmd160 884b4ec225d0411e8112e809c621b6779cf816b6\
22                    sha256 a695f9d45e95d3d9c3f25fcbf1891f5eb20e5aa51709f81b785a20e14270b7ee
23
24patchfiles-append   patch-Makefile.diff
25
26use_configure       no
27
28build.args          UISTYLE=text NATIVE=true THREADS=true
29depends_build       bin:camlp4:ocaml
30
31destroot.args       PREFIX=${prefix} UISTYLE=text NATIVE=true THREADS=true
32
33variant x11 conflicts aqua {
34    patchfiles-append       patch-Makefile.OCaml.diff
35
36    depends_lib-append      port:lablgtk2
37
38    build.args-replace      UISTYLE=text \
39                            UISTYLE=gtk2
40
41    destroot.args-replace   UISTYLE=text \
42                            UISTYLE=gtk2
43}
44
45variant aqua description {Build Aqua front-end} conflicts x11 {
46    patchfiles-append       patch-uimacnew-uimacnew.xcodeproj-project.pbxproj.diff
47
48    build.args-replace      UISTYLE=text \
49                            UISTYLE=macnew
50    destroot {
51        system "cd ${worksrcpath}/uimacnew/build && mv Default/* . || true"
52        copy ${worksrcpath}/uimacnew/build/Unison.app \
53            ${destroot}${applications_dir}
54    }
55}
56
57livecheck.type      regex
58livecheck.url       ${homepage}download/releases/stable/
59livecheck.regex     {unison-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.