git: 222d74a808b4 - main - devel/vipack: New Port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 20 Jun 2022 16:55:26 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=222d74a808b45b34716e47806ca7e4815d9cc371

commit 222d74a808b45b34716e47806ca7e4815d9cc371
Author:     Faraz Vahedi <kfv@kfv.io>
AuthorDate: 2022-06-20 11:15:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-20 16:55:13 +0000

    devel/vipack: New Port
    
    vipack is a language- and dependency-agnostic package manager
    that only needs a json tree describing package information,
    dependencies, and build steps.
    
    The default tree describes packages for Vishap Oberon Compiler,
    but there's no restriction on the stack and any custom tree can
    be used.
    
    WWW: https://github.com/vishaps/vipack
    
    PR:           264785
    Reviewed by:  bofh
    Sponsored by: illuria Security, Inc.
---
 devel/Makefile                             |  1 +
 devel/vipack/Makefile                      | 33 ++++++++++++++++++++++++++++++
 devel/vipack/distinfo                      | 11 ++++++++++
 devel/vipack/files/patch-makefile__freebsd | 11 ++++++++++
 devel/vipack/pkg-descr                     |  9 ++++++++
 5 files changed, 65 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7d9bba5a542c..837a867a9262 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7326,6 +7326,7 @@
     SUBDIR += vexcl
     SUBDIR += viewvc-devel
     SUBDIR += violet
+    SUBDIR += vipack
     SUBDIR += vitables
     SUBDIR += volk
     SUBDIR += vstr
diff --git a/devel/vipack/Makefile b/devel/vipack/Makefile
new file mode 100644
index 000000000000..fec76ea783e7
--- /dev/null
+++ b/devel/vipack/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	vipack
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.1
+CATEGORIES=	devel
+
+MAINTAINER=	kfv@kfv.io
+COMMENT=	Vishap package manager
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BROKEN_powerpc64=	fails to compile: voc is not yet available for powerpc64
+
+BUILD_DEPENDS=	voc:lang/voc
+RUN_DEPENDS=	git:devel/git
+
+USES=		gmake
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	vishaps
+GH_TUPLE=	norayr:Internet:4b33066:Internet/dps/Internet \
+		norayr:lists:1fc8f0f:lists/dps/lists \
+		norayr:opts:cc882ee:opts/dps/opts \
+		norayr:time:c17a1c7:time/dps/time
+
+MAKEFILE=	makefile_freebsd
+
+PLIST_FILES=	bin/vipack
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/vipack/distinfo b/devel/vipack/distinfo
new file mode 100644
index 000000000000..a42952ee6f7a
--- /dev/null
+++ b/devel/vipack/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1649325709
+SHA256 (vishaps-vipack-v0.9.1_GH0.tar.gz) = 8d18d371fa38fa16bdd845115cd1d78816782960a114335709142a972cc11ffb
+SIZE (vishaps-vipack-v0.9.1_GH0.tar.gz) = 30299
+SHA256 (norayr-Internet-4b33066_GH0.tar.gz) = 860a8e7a6d21c338320552c72e4f855101a4b996dda82c1e2fc083ec3016e66e
+SIZE (norayr-Internet-4b33066_GH0.tar.gz) = 6918
+SHA256 (norayr-lists-1fc8f0f_GH0.tar.gz) = 59419d8efa43e13be559e4d0ee62b7dc5828f198a017c15a6046feebb80cbd58
+SIZE (norayr-lists-1fc8f0f_GH0.tar.gz) = 7009
+SHA256 (norayr-opts-cc882ee_GH0.tar.gz) = d10df4e74832462cf48fe4d993388a9d351325ba1fe26ef0899f3090f6925669
+SIZE (norayr-opts-cc882ee_GH0.tar.gz) = 3159
+SHA256 (norayr-time-c17a1c7_GH0.tar.gz) = 44be16fbe062110545ed00456e8a5265649ebe7599d541b4652e546d96355826
+SIZE (norayr-time-c17a1c7_GH0.tar.gz) = 1003
diff --git a/devel/vipack/files/patch-makefile__freebsd b/devel/vipack/files/patch-makefile__freebsd
new file mode 100644
index 000000000000..d593a85ea262
--- /dev/null
+++ b/devel/vipack/files/patch-makefile__freebsd
@@ -0,0 +1,11 @@
+--- makefile_freebsd.orig	2022-06-20 11:06:36 UTC
++++ makefile_freebsd
+@@ -12,7 +12,7 @@ CFLAGS=
+
+ CFLAGS=
+
+-all: deps
++all:
+
+ 	#git submodule init
+ 	#git submodule update
diff --git a/devel/vipack/pkg-descr b/devel/vipack/pkg-descr
new file mode 100644
index 000000000000..b998d12a04ce
--- /dev/null
+++ b/devel/vipack/pkg-descr
@@ -0,0 +1,9 @@
+vipack is a language- and dependency-agnostic package manager
+that only needs a json tree describing package information,
+dependencies, and build steps.
+
+The default tree describes packages for Vishap Oberon Compiler,
+but there's no restriction on the stack and any custom tree can
+be used.
+
+WWW: https://github.com/vishaps/vipack