From nobody Mon Oct 28 12:44:21 2024 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 4XcY4613Fmz5bJhD; Mon, 28 Oct 2024 12:44:22 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcY4567lDz4WkC; Mon, 28 Oct 2024 12:44:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119461; 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=oQincYH6XKLQDl+4OC9x2WAqhpbtv1xZIZvbM6NatwE=; b=YimEs9dmLFsZr7wZKc+HMgdrR5+IqgrC9lSPBhj5CgCZK6sXwh6Fb9TMD/mBZVgmMREVkh ZG1VpXb/Rryxb83pWqWMSYa5bBk7L47XcAe3YTCWVWG89aN2UxmNCqZPZEGw1CQc1d5DpZ NlxoBI3g/bMStx8lmWG2RIuGQuJKuAN+1lL+5pB64OK5dCtbBl1RzDE4ws1Wnh/7K3jo7z LpHrrxdQUZtkg3ZYOmEFQkPM4qyiR39lnU6VeWBP/MKGAhhBtNBRbMYK/lk0keXZN87KEG CJ/4WsP2eSYnGmK7fRavjc+9C+tdbHOG0q6B2AguwyqSM1s+8Kj8Vr29jmSCuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119461; 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=oQincYH6XKLQDl+4OC9x2WAqhpbtv1xZIZvbM6NatwE=; b=ru55pxOXZnS9Hs0+PN8wSC+FT8oqdPFuc+Sh0Dr+UPWHgKViTisdzBZwqFYsljRs+DdLR1 pyrApSOP6SIT5Yle7Njh0aTFlUefPORfLXqrmh5e8Tqc+xaZJafUU6+QeF+ha/8rXX39Jo EwSySh46Lel0sT05MYJ2KGknwpImAC4VnA/TD6w+aMnLG/ybhuqWYFUHFZ/1w8xK9xHS1n +B8EVKGT6Whpu65hljO2Q90BAL/3r0CWSP8pdm1wcshUDcR+mcrRDQDxW0eysP3ZRklAGd C2wumn2ouL9/qzXKAl4uiakW/yqlbjo2jr0vvlIu9n1BwJjm6ZzP4uWmjbqPyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730119461; a=rsa-sha256; cv=none; b=QzNQOnXmuZW4vLTsF8uV+UEvkEFLDvwLB74ltDBFoCqkx5gTyiC9lJV2e3RnZM6xDoYy1L 8q7GZ/F6UPQSzHADdiFEhXAr8hWuMC6JyQmhJnKfAg6smxCxsx0KWAUzs76pw1zZGuc19U kfZ+Job/wvKb0ZSyIIH1S5AQ1o7rDG5TKo6FQXfNP9Fzea22vKsanlYvLRgJJmnLWyfKsR S+dmZrHqzqzD7KMbNpVm757X1NAUDd716j6HWNL6U/sT+RJ0DRaAUUqo9BTMhguehOWyWq J/gfJjeZkezdpBbEuMDLo5NrTUjqcOSRBSAhxO3hLT4HX9jvaVc1y5ezr4PdDg== 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 4XcY455HZRzg25; Mon, 28 Oct 2024 12:44:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49SCiLr9074332; Mon, 28 Oct 2024 12:44:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49SCiLaV074329; Mon, 28 Oct 2024 12:44:21 GMT (envelope-from git) Date: Mon, 28 Oct 2024 12:44:21 GMT Message-Id: <202410281244.49SCiLaV074329@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 5bf71a618967 - main - shells/zsh-fast-syntax-highlighting: Optimized and extended zsh-syntax-highlighting 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5bf71a6189674afd290f33fe9ddd5bb32fae2a64 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=5bf71a6189674afd290f33fe9ddd5bb32fae2a64 commit 5bf71a6189674afd290f33fe9ddd5bb32fae2a64 Author: Son Phan Trung AuthorDate: 2024-02-14 13:09:02 +0000 Commit: Robert Clausecker CommitDate: 2024-10-28 12:42:02 +0000 shells/zsh-fast-syntax-highlighting: Optimized and extended zsh-syntax-highlighting Zsh-fast-syntax-highlighting enables highlighting of commands whilst they are typed at an interactive zsh prompt. This helps in reviewing commands before running them, particularly in catching syntax errors. Compared to zsh-syntax-highlighting, this package is more optimized and feature-rich. WWW: https://github.com/zdharma-continuum/fast-syntax-highlighting --- shells/Makefile | 1 + shells/zsh-fast-syntax-highlighting/Makefile | 28 +++++++ shells/zsh-fast-syntax-highlighting/distinfo | 3 + .../files/pkg-message.in | 9 +++ shells/zsh-fast-syntax-highlighting/pkg-descr | 5 ++ shells/zsh-fast-syntax-highlighting/pkg-plist | 91 ++++++++++++++++++++++ 6 files changed, 137 insertions(+) diff --git a/shells/Makefile b/shells/Makefile index a825aa8be741..45056e4ea190 100644 --- a/shells/Makefile +++ b/shells/Makefile @@ -72,6 +72,7 @@ SUBDIR += zsh-antigen SUBDIR += zsh-autosuggestions SUBDIR += zsh-completions + SUBDIR += zsh-fast-syntax-highlighting SUBDIR += zsh-navigation-tools SUBDIR += zsh-syntax-highlighting diff --git a/shells/zsh-fast-syntax-highlighting/Makefile b/shells/zsh-fast-syntax-highlighting/Makefile new file mode 100644 index 000000000000..accfc1893b83 --- /dev/null +++ b/shells/zsh-fast-syntax-highlighting/Makefile @@ -0,0 +1,28 @@ +PORTNAME= zsh-fast-syntax-highlighting +DISTVERSIONPREFIX= v +DISTVERSION= 1.55 +CATEGORIES= shells + +MAINTAINER= phantrungson17@gmail.com +COMMENT= Optimized and extended zsh-syntax-highlighting +WWW= https://github.com/zdharma-continuum/fast-syntax-highlighting + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= zsh>=5.4:shells/zsh + +USE_GITHUB= yes +GH_ACCOUNT= zdharma-continuum +GH_PROJECT= fast-syntax-highlighting + +NO_ARCH= yes +NO_BUILD= yes + +SUB_FILES= pkg-message + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "! -path \./\.* ! -name *\.bak ! -name *\.orig" + +.include diff --git a/shells/zsh-fast-syntax-highlighting/distinfo b/shells/zsh-fast-syntax-highlighting/distinfo new file mode 100644 index 000000000000..be66e173dd14 --- /dev/null +++ b/shells/zsh-fast-syntax-highlighting/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707906686 +SHA256 (zdharma-continuum-fast-syntax-highlighting-v1.55_GH0.tar.gz) = d06cea9c047ce46ad09ffd01a8489a849fc65b8b6310bd08f8bcec9d6f81a898 +SIZE (zdharma-continuum-fast-syntax-highlighting-v1.55_GH0.tar.gz) = 615290 diff --git a/shells/zsh-fast-syntax-highlighting/files/pkg-message.in b/shells/zsh-fast-syntax-highlighting/files/pkg-message.in new file mode 100644 index 000000000000..da4b6b7f7bfa --- /dev/null +++ b/shells/zsh-fast-syntax-highlighting/files/pkg-message.in @@ -0,0 +1,9 @@ +[ +{ type: install + message: <