pkgsrc-WIP-changes archive

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

sapling: add incomplete package that needs folly to build



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Nov 22 19:10:42 2023 +0100
Changeset:	cd97b9b83f89054e4305d7934421cfbddf04841f

Modified Files:
	Makefile
Added Files:
	folly/buildlink3.mk
	sapling/DESCR
	sapling/Makefile
	sapling/PLIST
	sapling/distinfo

Log Message:
sapling: add incomplete package that needs folly to build

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

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

diffstat:
 Makefile            |  1 +
 folly/buildlink3.mk | 20 ++++++++++++++++++++
 sapling/DESCR       |  6 ++++++
 sapling/Makefile    | 23 +++++++++++++++++++++++
 sapling/PLIST       |  4 ++++
 sapling/distinfo    |  5 +++++
 6 files changed, 59 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8d2ceaccaf..aed214e735 100644
--- a/Makefile
+++ b/Makefile
@@ -4976,6 +4976,7 @@ SUBDIR+=	sailor
 SUBDIR+=	salmon
 SUBDIR+=	samhain
 SUBDIR+=	samtools
+SUBDIR+=	sapling
 SUBDIR+=	sara
 SUBDIR+=	sarf
 SUBDIR+=	sbc
diff --git a/folly/buildlink3.mk b/folly/buildlink3.mk
new file mode 100644
index 0000000000..f44bdfa3c1
--- /dev/null
+++ b/folly/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	folly
+
+.if !defined(FOLLY_BUILDLINK3_MK)
+FOLLY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.folly+=	folly>=2023.11.20.00
+BUILDLINK_PKGSRCDIR.folly?=	../../wip/folly
+
+#.include "../../archivers/lz4/buildlink3.mk"
+#.include "../../archivers/zstd/buildlink3.mk"
+#.include "../../devel/boost-libs/buildlink3.mk"
+#.include "../../devel/gflags/buildlink3.mk"
+#.include "../../devel/google-glog/buildlink3.mk"
+#.include "../../math/double-conversion/buildlink3.mk"
+#.include "../../textproc/fmtlib/buildlink3.mk"
+.endif	# FOLLY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-folly
diff --git a/sapling/DESCR b/sapling/DESCR
new file mode 100644
index 0000000000..f919be1a38
--- /dev/null
+++ b/sapling/DESCR
@@ -0,0 +1,6 @@
+Sapling SCM is a cross-platform, highly scalable, Git-compatible
+source control system.
+
+It aims to provide both user-friendly and powerful interfaces for
+users, as well as extreme scalability to deal with repositories
+containing many millions of files and many millions of commits.
diff --git a/sapling/Makefile b/sapling/Makefile
new file mode 100644
index 0000000000..d46dcf08fc
--- /dev/null
+++ b/sapling/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	sapling-0.2.20231113-145254-995db0d6
+PKGNAME=	${DISTNAME:C/-[^-]*-[^-]*$//}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=facebook/}
+GITHUB_PROJECT=	sapling
+GITHUB_TAG=	${DISTNAME:S/sapling-//:S/-99/%2B99/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/facebook/sapling
+COMMENT=	Scalable, User-Friendly Source Control System
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+USE_LANGUAGES=	c c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../wip/folly/buildlink3.mk"
+.include "../../devel/gflags/buildlink3.mk"
+.include "../../devel/google-glog/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sapling/PLIST b/sapling/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/sapling/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/sapling/distinfo b/sapling/distinfo
new file mode 100644
index 0000000000..e3c6c40729
--- /dev/null
+++ b/sapling/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (sapling-0.2.20231113-145254-995db0d6.tar.gz) = 6d087c58175749520be9b13dc275150c50f30c4f80289728374a673ee3628063
+SHA512 (sapling-0.2.20231113-145254-995db0d6.tar.gz) = 39678d8aba2c1cac3d688a21dc4146a50ac15081e48b119c49817dd4f5de1b3a265c31a2ac84eae77a65e76dd39b805630c1c30bfdbed9c8a35e5c59226eb6c1
+Size (sapling-0.2.20231113-145254-995db0d6.tar.gz) = 27806607 bytes


Home | Main Index | Thread Index | Old Index