Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2007 16:57:01 +0200 (IST)
From:      Dan Pelleg <daniel+unison@pelleg.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116713: New port: net/unison-devel - development version of net/unison
Message-ID:  <20070928145701.95EB5C1A0@muky.here>
Resent-Message-ID: <200709281500.l8SF05MA003326@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116713
>Category:       ports
>Synopsis:       New port: net/unison-devel - development version of net/unison
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 28 15:00:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dan Pelleg
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD l 6.2-RELEASE-p3


	
>Description:

Devel version of the unison port.


>How-To-Repeat:
	
>Fix:

	

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	unison-2.27.29
#	unison-2.27.29/Makefile
#	unison-2.27.29/pkg-descr
#	unison-2.27.29/pkg-message
#	unison-2.27.29/pkg-plist
#	unison-2.27.29/distinfo
#
echo c - unison-2.27.29
mkdir -p unison-2.27.29 > /dev/null 2>&1
echo x - unison-2.27.29/Makefile
sed 's/^X//' >unison-2.27.29/Makefile << 'END-of-unison-2.27.29/Makefile'
X# New ports collection makefile for: unison
X# Date created:		4 October 2000
X# Whom:			Dan Pelleg <dpelleg+unison@cs.cmu.edu>
X#
X# $FreeBSD: ports/net/unison/Makefile,v 1.19 2006/04/21 07:29:14 vs Exp $
X#
X
XPORTNAME=	unison
XPORTVERSION=	2.27.29
XCATEGORIES=	net
XMASTER_SITES=	http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
XPKGNAMESUFFIX=	-devel
XDISTFILES=	${EXTRACT_ONLY} ${EXTRA_DOCS}
XDIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
XEXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}.tar.gz
X
XMAINTAINER=	daniel+unison@pelleg.org
XCOMMENT=	A user-level file synchronization tool
X
XPLIST_SUB=	PORTVERSION=${PORTVERSION}
XUSE_GMAKE=	yes
XMAKE_ARGS=	CFLAGS=""
XCONFLICTS=	unison-[0-9]*
X
X.include <bsd.port.pre.mk>
X
X.if !defined(NOPORTDOCS)
XDOCS=		BUGS.txt NEWS README
XEXTRA_DOCS=	unison-${PORTVERSION}-manual.html \
X		unison-${PORTVERSION}-manual.pdf unison-${PORTVERSION}-manual.ps
X.endif
X
X.if !defined(WITHOUT_GTK2) && !defined(WITHOUT_X11)
XWITH_GTK2=	yes
X.endif
X
X.if defined(WITH_GTK2)
XMAKE_ARGS+=	UISTYLE=gtk2
XPLIST_SUB+=	TEXT=""
XBUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml
XBUILD_DEPENDS+=	lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
XRUN_DEPENDS+=	lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
XPATCH_DEPENDS=	${BUILD_DEPENDS}
XCONFLICTS+=	ocaml-nox11*
X.else
XMAKE_ARGS+=	UISTYLE=text
XPLIST_SUB+=	TEXT="@comment "
XBUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml-nox11
XPATCH_DEPENDS=	${BUILD_DEPENDS}
X.endif
X
X.if defined(WITH_GTK2)
Xpost-build:
X	@${ECHO} Building text-only version
X	@${ECHO} ${WRKSRC}
X	@${GMAKE} -C ${WRKSRC} UISTYLE=text NAME=unison-text
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/unison ${PREFIX}/bin
X
Xpost-install:
X.if defined(WITH_GTK2)
X	@${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin
X.endif
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR}
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-unison-2.27.29/Makefile
echo x - unison-2.27.29/pkg-descr
sed 's/^X//' >unison-2.27.29/pkg-descr << 'END-of-unison-2.27.29/pkg-descr'
XUnison is a file-synchronization tool for Unix and Windows. It allows two
Xreplicas of a collection of files and directories to be stored on different
Xhosts (or different disks on the same host), modified separately, and then
Xbrought up to date by propagating the changes in each replica to the other.
X
XUnison shares a number of features with tools such as configuration
Xmanagement packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
Xuni-directional mirroring utilities (rsync, etc.) and other synchronizers
X(Intellisync, Reconcile, etc).
X
XWWW: http://www.cis.upenn.edu/~bcpierce/unison/
X
X- Dan Pelleg
X
Xdaniel+unison@pelleg.org
END-of-unison-2.27.29/pkg-descr
echo x - unison-2.27.29/pkg-message
sed 's/^X//' >unison-2.27.29/pkg-message << 'END-of-unison-2.27.29/pkg-message'
X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
XTogether with a gtk-enabled version, a text-only unison-text binary
Xis installed as it depends on a smaller number of libraries.
X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
END-of-unison-2.27.29/pkg-message
echo x - unison-2.27.29/pkg-plist
sed 's/^X//' >unison-2.27.29/pkg-plist << 'END-of-unison-2.27.29/pkg-plist'
Xbin/unison
X%%TEXT%%bin/unison-text
X%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.html
X%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.pdf
X%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.ps
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-unison-2.27.29/pkg-plist
echo x - unison-2.27.29/distinfo
sed 's/^X//' >unison-2.27.29/distinfo << 'END-of-unison-2.27.29/distinfo'
XMD5 (unison-2.27.29/unison-2.27.29.tar.gz) = a79280de81c6cf47014ddc6881911323
XSHA256 (unison-2.27.29/unison-2.27.29.tar.gz) = 3665346238db717e0439476c1ddbde754e4becf5c0fdd70652f107dbda1254b7
XSIZE (unison-2.27.29/unison-2.27.29.tar.gz) = 591171
XMD5 (unison-2.27.29/unison-2.27.29-manual.html) = 6fbe74c53d36e7ef6dd5014d7818f4c1
XSHA256 (unison-2.27.29/unison-2.27.29-manual.html) = 8ebe142ae15ed66bcc061ad6935aab23f67c8fde5eb9ce54c96a712f53ea576a
XSIZE (unison-2.27.29/unison-2.27.29-manual.html) = 231860
XMD5 (unison-2.27.29/unison-2.27.29-manual.pdf) = 96e64571ea7d96d29ceab89df19b2f90
XSHA256 (unison-2.27.29/unison-2.27.29-manual.pdf) = 649eb962673ef830b472115262a7474d376f6ae0815a3fd9644789e306fcdda0
XSIZE (unison-2.27.29/unison-2.27.29-manual.pdf) = 451367
XMD5 (unison-2.27.29/unison-2.27.29-manual.ps) = 2cff68790108f324e4ce90f281e15a6b
XSHA256 (unison-2.27.29/unison-2.27.29-manual.ps) = 5e6fdb9b565169383a20cfe99e9f696bccedebb4d964ddab115473607b61c80a
XSIZE (unison-2.27.29/unison-2.27.29-manual.ps) = 530115
END-of-unison-2.27.29/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070928145701.95EB5C1A0>