1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 69376 2010-07-02 21:06:00Z dports@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name unison |
---|
6 | version 2.32.52 |
---|
7 | revision 1 |
---|
8 | categories net |
---|
9 | maintainers nomaintainer |
---|
10 | description Unison File Synchronizer |
---|
11 | long_description Unison is a file-synchronization tool for Unix and \ |
---|
12 | Windows. It allows two replicas of a collection of \ |
---|
13 | files and directories to be stored on different hosts \ |
---|
14 | (or different disks on the same host), modified \ |
---|
15 | separately, and then brought up to date by propagating \ |
---|
16 | the changes in each replica to the other. |
---|
17 | homepage http://www.cis.upenn.edu/~bcpierce/unison/ |
---|
18 | master_sites ${homepage}/download/releases/stable/ |
---|
19 | platforms darwin openbsd |
---|
20 | checksums md5 0701f095c1721776a0454b94607eda48 \ |
---|
21 | sha1 68ea5709de4fcc2f9aef7b01b24637503b61b5ac \ |
---|
22 | rmd160 8216a2e482d5a445dd7acdb62e1bb6377e90d1a1 |
---|
23 | patchfiles patch-Makefile \ |
---|
24 | patch-update.mli.diff |
---|
25 | |
---|
26 | use_configure no |
---|
27 | |
---|
28 | build.args UISTYLE=text NATIVE=true THREADS=true |
---|
29 | depends_build bin:camlp4:ocaml |
---|
30 | |
---|
31 | destroot.args PREFIX=${prefix} UISTYLE=text NATIVE=true THREADS=true |
---|
32 | |
---|
33 | variant x11 { |
---|
34 | depends_lib-append port:lablgtk2 |
---|
35 | |
---|
36 | build.args-delete UISTYLE=text |
---|
37 | build.args-append UISTYLE=gtk2 |
---|
38 | |
---|
39 | destroot.args-delete UISTYLE=text |
---|
40 | destroot.args-append UISTYLE=gtk2 |
---|
41 | } |
---|
42 | |
---|
43 | variant aqua { |
---|
44 | build.args-delete UISTYLE=text |
---|
45 | build.args-append UISTYLE=macnew |
---|
46 | destroot { |
---|
47 | xinstall -d -m 0755 ${destroot}${applications_dir} |
---|
48 | system "cd ${worksrcpath}/uimacnew/build && mv Default/* . || true" |
---|
49 | file copy ${worksrcpath}/uimacnew/build/Unison.app \ |
---|
50 | ${destroot}${applications_dir} |
---|
51 | } |
---|
52 | } |
---|
53 | |
---|
54 | livecheck.type regex |
---|
55 | livecheck.url ${master_sites} |
---|
56 | livecheck.regex {unison-(\d+(?:\.\d+)*)} |
---|