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

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

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

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