Opened 19 years ago
Last modified 9 years ago
#3770 closed update
UPDATE: unison 2.12.0 — at Initial Version
Reported by: | benwill@… | Owned by: | darwinports-bugs@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | unison |
Description
2.12.0 is the current stable version of unison. However, I don't think this should replace the current unison port (2.10.2), as the file formats are incompatible and so it's useful to have both installed. Perhaps this port should be called 'unison' and the older one renamed unison-2.10.2?
Note also that this version does install a symlink /opt/local/bin/unison --> unison-2.12.0 which conflicts with 2.10.2 and so it's necessary to use -f to install.
Improvements over 2.10.2:
- Uses threading
- /opt/local/bin/unison is a symlink instead of an extra binary
- Variant 'aqua' for native GUI
--- Portfile.orig 2005-06-28 18:21:02.000000000 -0700 +++ Portfile 2005-06-30 00:52:46.000000000 -0700 @@ -2,8 +2,8 @@
PortSystem 1.0 name unison
-version 2.10.2 -revision 1 +version 2.12.0 +portname ${name}-${version}
categories net maintainers julien.touche@… description Unison File Synchronizer
@@ -16,19 +16,30 @@
homepage http://www.cis.upenn.edu/~bcpierce/unison/ master_sites ${homepage}download/stable/latest/ platforms darwin openbsd
-checksums md5 a93cf03d4221ab6bab8b758b0325a9d5 +checksums md5 c2b818e77e95951b5db0b95272e385a2
patchfiles patch-Makefile dist_subdir ${name}/${version} distname ${name}-${version}
-set worksrcdir ${name}-${version} -
use_configure no
-build.args UISTYLE=text NATIVE=true +build.args UISTYLE=text NATIVE=true THREADS=true
depends_lib bin:camlp4:ocaml
-destroot.args PREFIX=${prefix} UISTYLE=text NATIVE=true +destroot.args PREFIX=${prefix} UISTYLE=text NATIVE=true THREADS=true + +variant aqua { + build.args-delete UISTYLE=text + build.args-append UISTYLE=mac + destroot.cmd {} + destroot.destdir {} + destroot.target {} + post-destroot { + xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts + system "cp -r ${worksrcpath}/uimac/build/Unison.app \ + ${destroot}/Applications/DarwinPorts/" + } +}
variant x11 {
depends_lib-append port:lablgtk2