From nobody Wed Jun 01 02:09:46 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7B73D1B656DE; Wed, 1 Jun 2022 02:09:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LCXf232fjz4qRS; Wed, 1 Jun 2022 02:09:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654049386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KcRJNRm9o1Vr876K18S4M3md0XkqbZBGrynDjsZwjEI=; b=VuDki57QxOCO/wyCk9UB8gJSY2vaXMCtMAAg9oPW5JDLwkLZL1JoY01nE1Si/J0NyPeWz4 7AnOhXpkb0O4k9YznlLKgLex0S5MvvXrf7MRJ/LUBNLNmp8uCjkQtwRES/Koma/DQ7hL4X t7O/pnZZ+E4iYfNxgGz9645eDukZ9mVNWKsVGpJsxKuUlPVHN8nnsT901WbvH1A2AmpWUr j6o/gjbSNbg5Byi95ltlrhZ8f9v6PIvyGwzec/xk46HVbP/D2qXLkWKK/zWUbUISIDLPhb IhZamVrDqEHoc7OQbFgFYyhqkn6EIlR1sWaNDF1I6UfyzztRH6VCtNYz7mghbA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 44447173CF; Wed, 1 Jun 2022 02:09:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25129kIG038729; Wed, 1 Jun 2022 02:09:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25129kOw038728; Wed, 1 Jun 2022 02:09:46 GMT (envelope-from git) Date: Wed, 1 Jun 2022 02:09:46 GMT Message-Id: <202206010209.25129kOw038728@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: e6b4d197733c - main - devel/tup: new port had been added (file-based build system) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6b4d197733c3b72fd0efdf67e957dabd40f4383 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654049386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KcRJNRm9o1Vr876K18S4M3md0XkqbZBGrynDjsZwjEI=; b=e2pBKn0x4IEa/9GFWi1fHl/RuDofFztGRk8vKK4pTTG5lLZpKfTEhYL7QIh4whC5Y/m4B7 0zpvbfY/gLWZIqc3B4Mlz7BAxIBIBLzrdpFud/rL64rvKchFdf5E+GTr325kt5dW/mJBM2 GXrud57Ga+mun53J62+KL2BweIsdW2Oflkq7WG6xCvDYVYQNyFlzuFwp86sB9dxLeebpgu 71CHTjedmRU0DkYbi4c8zi3WiUiHCfGqZO2yFzEa2SbIEzTbwBxGvbKd7x82pEBb/UPACE Z9VIOH+4wno1aeBY+9N3Ni2C00eaS6EOr2wmr3MRO+0o+9k42HuryvyXapnHiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654049386; a=rsa-sha256; cv=none; b=vlSH6VAeqwn3MwKrDh1bCY+0IrUNwtaaN3/ivtB3FkgM5VBK6DXhBAmztNOYEHuTH7d6qy GLbM1uY+agoYJZy6YtQfjj4nIfG9wivMjfDQx9xVoRsVkcDyRRApOkZbG+3iZU6FhTkgo9 ETW/BaOK83fWOJvRL2YjAhlQ5azvtM+T16wijcSpwtBMY6omnMiusEul6mqYb2cWM9XynF s405jugGHgwqYdoL+ScdUgKI6xsi5rSHAVWCs0Xqa/KO1MVLiPHii4P5myP6r/0OXEN4Uv OrNFq9rYcOfTN4FRpy96rGlH1/hlqglQGIpSyDw2JCQ++lUVMe5wZDXpZe73Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6b4d197733c3b72fd0efdf67e957dabd40f4383 commit e6b4d197733c3b72fd0efdf67e957dabd40f4383 Author: Alexey Dokuchaev AuthorDate: 2022-06-01 02:09:00 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-06-01 02:09:00 +0000 devel/tup: new port had been added (file-based build system) It inputs a list of file changes and a directed acyclic graph (DAG), then processes the DAG to execute the appropriate commands required to update dependent files. WWW: https://gittup.org/tup/ --- devel/Makefile | 1 + devel/tup/Makefile | 35 ++++++++++++++++++++++++++++++++ devel/tup/distinfo | 3 +++ devel/tup/files/patch-src_tup_platform.c | 11 ++++++++++ devel/tup/pkg-descr | 8 ++++++++ 5 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4e2ee38fd6e4..856c2ee4282b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7256,6 +7256,7 @@ SUBDIR += trellis SUBDIR += trio SUBDIR += truc + SUBDIR += tup SUBDIR += ua_parser-core SUBDIR += uclcmd SUBDIR += ucommon diff --git a/devel/tup/Makefile b/devel/tup/Makefile new file mode 100644 index 000000000000..3e179d265f78 --- /dev/null +++ b/devel/tup/Makefile @@ -0,0 +1,35 @@ +# Created by: Alexey Dokuchaev + +PORTNAME= tup +PORTVERSION= 0.7.11 +DISTVERSIONPREFIX= v +CATEGORIES= devel +MASTER_SITES= https://gittup.org/tup/releases/ + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Fast and smart file-based build system + +LICENSE= GPLv2 + +LIB_DEPENDS= libpcre.so:devel/pcre + +USES= fuse pkgconfig + +DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${SH} bootstrap-nofuse.sh + +PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz \ + share/vim/vimfiles/syntax/${PORTNAME}.vim + +post-patch: + @${REINPLACE_CMD} -e 's,-Os,${CFLAGS},' ${WRKSRC}/Tuprules.tup + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${INSTALL_WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/share/man/man1 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles/syntax + ${INSTALL_DATA} ${INSTALL_WRKSRC}/contrib/syntax/*.vim \ + ${STAGEDIR}${PREFIX}/share/vim/vimfiles/syntax + +.include diff --git a/devel/tup/distinfo b/devel/tup/distinfo new file mode 100644 index 000000000000..57cbb1d3f47a --- /dev/null +++ b/devel/tup/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1621101608 +SHA256 (tup-v0.7.11.tar.gz) = ebfb5e28afd7eb6c1718930c17e703c5142e3345031e7f001c752a09adc3a784 +SIZE (tup-v0.7.11.tar.gz) = 4683364 diff --git a/devel/tup/files/patch-src_tup_platform.c b/devel/tup/files/patch-src_tup_platform.c new file mode 100644 index 000000000000..a0285919f806 --- /dev/null +++ b/devel/tup/files/patch-src_tup_platform.c @@ -0,0 +1,11 @@ +--- src/tup/platform.c.orig 2021-05-14 16:20:52 UTC ++++ src/tup/platform.c +@@ -58,6 +58,8 @@ const char *tup_arch = "arm64"; + const char *tup_arch = "arm"; + #elif __aarch64__ + const char *tup_arch = "arm64"; ++#elif __riscv ++const char *tup_arch = "riscv"; + #else + #error Unsupported cpu architecture. Please add support in tup/platform.c + #endif diff --git a/devel/tup/pkg-descr b/devel/tup/pkg-descr new file mode 100644 index 000000000000..59b5d028ca80 --- /dev/null +++ b/devel/tup/pkg-descr @@ -0,0 +1,8 @@ +Tup is a file-based build system for Unix and Windows. It takes as input +a list of file changes and a directed acyclic graph (DAG). It then +processes the DAG to execute the appropriate commands required to update +dependent files. Updates are performed with very little overhead since +tup implements powerful build algorithms to avoid doing unnecessary work, +so you can stay focused on your project rather than on your build system. + +WWW: https://gittup.org/tup/