1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add new port of unison 2.5.1, a utility for synchronizing files

which works both on local disks and over a network (can use ssh).

PR:		22264
Submitted by:	Dan Pelleg <dpelleg+unison@cs.cmu.edu>
This commit is contained in:
Trevor Johnson 2000-10-26 01:42:33 +00:00
parent f3476b6169
commit f92095b090
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34243
19 changed files with 217 additions and 0 deletions

View File

@ -264,6 +264,7 @@
SUBDIR += ttt
SUBDIR += tund
SUBDIR += ucd-snmp
SUBDIR += unison
SUBDIR += vnc
SUBDIR += vtun
SUBDIR += wais

27
net/unison-devel/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: unison
# Date created: 4 October 2000
# Whom: Dan Pelleg <dpelleg+unison@cs.cmu.edu>
#
# $FreeBSD$
#
PORTNAME= unison
PORTVERSION= 2.5.1
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-${PORTVERSION}/
DISTNAME= src
DIST_SUBDIR= unison
MAINTAINER= Dan Pelleg <dpelleg+unison@cs.cmu.edu>
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
MAKE_ARGS= UISTYLE=text CFLAGS=""
post-install:
strip ${PREFIX}/bin/unison
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (unison/src.tar.gz) = e7e1f701d8d2c22e25380550ca8d60f4

View File

@ -0,0 +1,27 @@
--- Makefile.orig Mon Sep 25 19:04:31 2000
+++ Makefile Wed Oct 25 20:48:53 2000
@@ -62,12 +62,12 @@
######################################################################
# Installation
-INSTALLDIR = $(HOME)/bin/
+INSTALLDIR = ${PREFIX}/bin/
install: $(NAME)$(EXEC_EXT)
- -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
+# -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
- cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
+# cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
######################################################################
# Demo
@@ -204,7 +204,7 @@
tags:
-$(ETAGS) *.ml *.mli
-all:: TAGS
+# all:: TAGS
TAGS:
$(MAKE) tags

View File

@ -0,0 +1 @@
A user-level file synchronization tool

View File

@ -0,0 +1,15 @@
Unison is a file-synchronization tool for Unix and Windows. It allows two
replicas of a collection of files and directories to be stored on different
hosts (or different disks on the same host), modified separately, and then
brought up to date by propagating the changes in each replica to the other.
Unison shares a number of features with tools such as configuration
management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
uni-directional mirroring utilities (rsync, etc.) and other synchronizers
(Intellisync, Reconcile, etc).
WWW: http://www.cis.upenn.edu/~bcpierce/unison/
- Dan Pelleg
dpelleg+unison@cs.cmu.edu

View File

@ -0,0 +1 @@
bin/unison

27
net/unison/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: unison
# Date created: 4 October 2000
# Whom: Dan Pelleg <dpelleg+unison@cs.cmu.edu>
#
# $FreeBSD$
#
PORTNAME= unison
PORTVERSION= 2.5.1
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-${PORTVERSION}/
DISTNAME= src
DIST_SUBDIR= unison
MAINTAINER= Dan Pelleg <dpelleg+unison@cs.cmu.edu>
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
MAKE_ARGS= UISTYLE=text CFLAGS=""
post-install:
strip ${PREFIX}/bin/unison
.include <bsd.port.mk>

1
net/unison/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (unison/src.tar.gz) = e7e1f701d8d2c22e25380550ca8d60f4

27
net/unison/files/patch-aa Normal file
View File

@ -0,0 +1,27 @@
--- Makefile.orig Mon Sep 25 19:04:31 2000
+++ Makefile Wed Oct 25 20:48:53 2000
@@ -62,12 +62,12 @@
######################################################################
# Installation
-INSTALLDIR = $(HOME)/bin/
+INSTALLDIR = ${PREFIX}/bin/
install: $(NAME)$(EXEC_EXT)
- -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
+# -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
- cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
+# cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
######################################################################
# Demo
@@ -204,7 +204,7 @@
tags:
-$(ETAGS) *.ml *.mli
-all:: TAGS
+# all:: TAGS
TAGS:
$(MAKE) tags

1
net/unison/pkg-comment Normal file
View File

@ -0,0 +1 @@
A user-level file synchronization tool

15
net/unison/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Unison is a file-synchronization tool for Unix and Windows. It allows two
replicas of a collection of files and directories to be stored on different
hosts (or different disks on the same host), modified separately, and then
brought up to date by propagating the changes in each replica to the other.
Unison shares a number of features with tools such as configuration
management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
uni-directional mirroring utilities (rsync, etc.) and other synchronizers
(Intellisync, Reconcile, etc).
WWW: http://www.cis.upenn.edu/~bcpierce/unison/
- Dan Pelleg
dpelleg+unison@cs.cmu.edu

1
net/unison/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/unison

27
net/unison232/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: unison
# Date created: 4 October 2000
# Whom: Dan Pelleg <dpelleg+unison@cs.cmu.edu>
#
# $FreeBSD$
#
PORTNAME= unison
PORTVERSION= 2.5.1
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-${PORTVERSION}/
DISTNAME= src
DIST_SUBDIR= unison
MAINTAINER= Dan Pelleg <dpelleg+unison@cs.cmu.edu>
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
MAKE_ARGS= UISTYLE=text CFLAGS=""
post-install:
strip ${PREFIX}/bin/unison
.include <bsd.port.mk>

1
net/unison232/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (unison/src.tar.gz) = e7e1f701d8d2c22e25380550ca8d60f4

View File

@ -0,0 +1,27 @@
--- Makefile.orig Mon Sep 25 19:04:31 2000
+++ Makefile Wed Oct 25 20:48:53 2000
@@ -62,12 +62,12 @@
######################################################################
# Installation
-INSTALLDIR = $(HOME)/bin/
+INSTALLDIR = ${PREFIX}/bin/
install: $(NAME)$(EXEC_EXT)
- -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
+# -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
- cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
+# cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
######################################################################
# Demo
@@ -204,7 +204,7 @@
tags:
-$(ETAGS) *.ml *.mli
-all:: TAGS
+# all:: TAGS
TAGS:
$(MAKE) tags

View File

@ -0,0 +1 @@
A user-level file synchronization tool

15
net/unison232/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Unison is a file-synchronization tool for Unix and Windows. It allows two
replicas of a collection of files and directories to be stored on different
hosts (or different disks on the same host), modified separately, and then
brought up to date by propagating the changes in each replica to the other.
Unison shares a number of features with tools such as configuration
management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
uni-directional mirroring utilities (rsync, etc.) and other synchronizers
(Intellisync, Reconcile, etc).
WWW: http://www.cis.upenn.edu/~bcpierce/unison/
- Dan Pelleg
dpelleg+unison@cs.cmu.edu

1
net/unison232/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/unison