pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

unison-snapshot: Move net/unison-snapshot to wip



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sun Mar 13 11:10:34 2022 -0400
Changeset:	20a468bb0562a5b7fa9ce82def15a9f5ba5ed1bc

Modified Files:
	Makefile
Added Files:
	unison-snapshot/DESCR
	unison-snapshot/Makefile
	unison-snapshot/PLIST
	unison-snapshot/distinfo
	unison-snapshot/options.mk

Log Message:
unison-snapshot: Move net/unison-snapshot to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=20a468bb0562a5b7fa9ce82def15a9f5ba5ed1bc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                   |  1 +
 unison-snapshot/DESCR      | 10 +++++++++
 unison-snapshot/Makefile   | 52 ++++++++++++++++++++++++++++++++++++++++++++++
 unison-snapshot/PLIST      |  8 +++++++
 unison-snapshot/distinfo   |  5 +++++
 unison-snapshot/options.mk | 17 +++++++++++++++
 6 files changed, 93 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 12fcd8a99d..cbf038ff8b 100644
--- a/Makefile
+++ b/Makefile
@@ -5773,6 +5773,7 @@ SUBDIR+=	unimrcp
 SUBDIR+=	unimrcp-apr
 SUBDIR+=	unimrcp-aprutil
 SUBDIR+=	unimrcp-sofiasip
+SUBDIR+=	unison-snapshot
 SUBDIR+=	unit
 SUBDIR+=	unit-perl
 SUBDIR+=	unit-php
diff --git a/unison-snapshot/DESCR b/unison-snapshot/DESCR
new file mode 100644
index 0000000000..99a530c2f8
--- /dev/null
+++ b/unison-snapshot/DESCR
@@ -0,0 +1,10 @@
+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.
+
+This package contains a snapshot of the git repository, either to
+allow bugfixes not in the latest release, or testing release
+candidates.
+
diff --git a/unison-snapshot/Makefile b/unison-snapshot/Makefile
new file mode 100644
index 0000000000..4f17d029fc
--- /dev/null
+++ b/unison-snapshot/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.32 2022/03/08 22:32:15 gdt Exp $
+
+# faux version to let me increment the last digit along the branch
+DISTNAME=	unison-2.51.91
+#PKGREVISION=	0
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=bcpierce00/}
+GITHUB_TAG=     a94c7916ff0b63bd8e01e11d6bb78441dc16b43c
+
+MAINTAINER=	gdt%NetBSD.org@localhost
+HOMEPAGE=	https://www.cis.upenn.edu/~bcpierce/unison/
+COMMENT=	File-synchronization tool
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	gmake bash
+MAKE_FLAGS+=	CFLAGS=""
+MAKE_ENV+=	HOME=${WRKDIR:Q}
+
+.include "../../mk/ocaml.mk"
+
+.if (${OCAML_USE_OPT_COMPILER} == "yes")
+MAKE_FLAGS+=	NATIVE=true
+.else
+MAKE_FLAGS+=	NATIVE=false
+.endif
+
+# bsd.prefs.mk, included also by options, must be after ocaml to get
+# _PKGSRC_MKPIE set correctly.
+.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+
+TEST_TARGET=		test
+
+INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS+=	share/doc/unison
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/unison ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/src/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison
+	${INSTALL_MAN} ${WRKSRC}/src/COPYING ${DESTDIR}${PREFIX}/share/doc/unison
+	${INSTALL_MAN} ${WRKSRC}/NEWS.md ${DESTDIR}${PREFIX}/share/doc/unison
+	${INSTALL_MAN} ${WRKSRC}/src/README ${DESTDIR}${PREFIX}/share/doc/unison
+	${INSTALL_MAN} ${WRKSRC}/src/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison
+	${INSTALL_MAN} ${WRKSRC}/src/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison
+
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
+MAKE_FLAGS+=	THREADS=true
+.endif
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/unison-snapshot/PLIST b/unison-snapshot/PLIST
new file mode 100644
index 0000000000..dfc8bf1416
--- /dev/null
+++ b/unison-snapshot/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.3 2022/02/19 16:27:03 gdt Exp $
+bin/unison
+share/doc/unison/CONTRIB
+share/doc/unison/COPYING
+share/doc/unison/NEWS.md
+share/doc/unison/README
+share/doc/unison/ROADMAP.txt
+share/doc/unison/TODO.txt
diff --git a/unison-snapshot/distinfo b/unison-snapshot/distinfo
new file mode 100644
index 0000000000..044b1a2359
--- /dev/null
+++ b/unison-snapshot/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.24 2022/03/08 22:32:15 gdt Exp $
+
+BLAKE2s (unison-2.51.91-a94c7916ff0b63bd8e01e11d6bb78441dc16b43c.tar.gz) = 8e09dd793add429c32320c2f20f7db6fffe236e9f752da27d2d10712f42c5c74
+SHA512 (unison-2.51.91-a94c7916ff0b63bd8e01e11d6bb78441dc16b43c.tar.gz) = 1754c378fce9fa240963510ee4f779a5f6051c08b04a63c4581f0dd5507d0cd1d8c4e3b3f6be4d25eb2e41ec23e39c6a5c24cc3dd83dbe2e43826e305af56d39
+Size (unison-2.51.91-a94c7916ff0b63bd8e01e11d6bb78441dc16b43c.tar.gz) = 1354897 bytes
diff --git a/unison-snapshot/options.mk b/unison-snapshot/options.mk
new file mode 100644
index 0000000000..e2e610a4f4
--- /dev/null
+++ b/unison-snapshot/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2020/04/21 11:34:01 wiz Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.unison
+PKG_SUPPORTED_OPTIONS=	lablgtk
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlablgtk)
+MAKE_FLAGS+=	UISTYLE=gtk2
+
+DEPENDS+=	font-schumacher-misc>=1.0:../../fonts/font-schumacher-misc
+
+BUILDLINK_API_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.16.0
+.include "../../x11/ocaml-lablgtk/buildlink3.mk"
+.else
+MAKE_FLAGS+=	UISTYLE=text
+.endif


Home | Main Index | Thread Index | Old Index