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 84550 2011-09-27 21:05:11Z snc@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name unison32 |
---|
6 | version 2.32.52 |
---|
7 | revision 1 |
---|
8 | categories net |
---|
9 | maintainers rwilcox@wilcoxd.com |
---|
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/unison-2.32.52/ |
---|
19 | distname unison-${version} |
---|
20 | platforms darwin openbsd |
---|
21 | checksums md5 0701f095c1721776a0454b94607eda48 \ |
---|
22 | sha1 68ea5709de4fcc2f9aef7b01b24637503b61b5ac \ |
---|
23 | rmd160 8216a2e482d5a445dd7acdb62e1bb6377e90d1a1 |
---|
24 | |
---|
25 | patchfiles patch-Makefile \ |
---|
26 | patch-update.mli.diff |
---|
27 | |
---|
28 | use_configure no |
---|
29 | |
---|
30 | build.args UISTYLE=text NATIVE=true THREADS=true |
---|
31 | depends_build bin:camlp4:ocaml |
---|
32 | |
---|
33 | destroot.args PREFIX=${prefix} UISTYLE=text NATIVE=true THREADS=true |
---|
34 | |
---|
35 | variant x11 { |
---|
36 | depends_lib-append port:lablgtk2 |
---|
37 | |
---|
38 | build.args-delete UISTYLE=text |
---|
39 | build.args-append UISTYLE=gtk2 |
---|
40 | |
---|
41 | destroot.args-delete UISTYLE=text |
---|
42 | destroot.args-append UISTYLE=gtk2 |
---|
43 | } |
---|
44 | |
---|
45 | variant aqua { |
---|
46 | build.args-delete UISTYLE=text |
---|
47 | build.args-append UISTYLE=macnew |
---|
48 | destroot { |
---|
49 | xinstall -d -m 0755 ${destroot}${applications_dir} |
---|
50 | system "cd ${worksrcpath}/uimacnew/build && mv Default/* . || true" |
---|
51 | file copy ${worksrcpath}/uimacnew/build/Unison.app \ |
---|
52 | ${destroot}${applications_dir} |
---|
53 | } |
---|
54 | } |
---|
55 | |
---|
56 | livecheck.type regex |
---|
57 | livecheck.url ${master_sites} |
---|
58 | livecheck.regex {unison-(\d+(?:\.\d+)*)} |
---|