From nobody Sat May 27 04:25:21 2023 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 4QSpcK33dlz4VCNS; Sat, 27 May 2023 04:25:21 +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 4QSpcK2CnPz4ChY; Sat, 27 May 2023 04:25:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685161521; 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=sHH0kll8oWzUlaC9pmV/ZiQUz7gwxt4IRV2jikQvQ/Y=; b=MeKvVJMxukxdmvtArlX8Nck2QfFwqKyKJtyoCjEBiZ0NuncvjeZLYzQT8ZhWnAzBnOUCy+ S/16at1YM8ZcTfS7/pp7YAycCMdLeaobklCeqivJiYAAUA4f7D4tA+776JGGCYCzY0xryW Ke+lzyDHM2NMVzivMoqQesDFtWd+Ykhsgg2W6oFnRE6G0nN0nLjC3TGBtvC3cxeyH5r7Nl Z+5Bn3biv7eoexHd69PId69r7Fv00K9T2rjpgMKxq1T0OQgGxScS8NyISt/UNSEceNB/PW wpY4w92L0McUbmM84juYYQ/mfRlq5wfqyuOQ2LtpLGFGscpAKMYwmFvt7j59+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685161521; 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=sHH0kll8oWzUlaC9pmV/ZiQUz7gwxt4IRV2jikQvQ/Y=; b=WMXdyA+ryLbYWNcOL740uHdtdPs7mNqYpW8ujjaWJa2X7/ly1gJjnaWyOSoApV+4bYCpHO KqGnd2jm4f15bFuA4rji6baM8GCrzwxHulIiAgbBznhN6f4GXMNvXJoQsQ6JJqcwceD4gU IUHK8VNG8ZF560XRFuvl4h5056/0geRCY+EGT0C5jmMFPixZdN50wDnX8seB8nxGtE0r2A RR5WecVAaUuj4P5cutJe5Z5sM4UALCddgZ8+qw5w3jXrinfF8cu3rsWEYMe4XqdSMHEdTL mh3wXL6fPBkGVQsE+3kEZJLIbid7jAyld22Kx0VVjkzRbZZ9y3AtJbP11f1/hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685161521; a=rsa-sha256; cv=none; b=orJ78EK3pyH0BtPkCshiCpsXntZqQRU4rNXSmwe+mm7CCBGvG4vdS3nESmCvTSWhhZV9Tn DzWESscqjImqqprsG+rMSYfiiGkkw3+fL/I2Y0KAL7GaAYhPFoyr9oxA953c0cGVCkKiCy KkAqw9y6eq1H/oIpo3W/ed5hWop5yU6DLD8KxfsZ61+kszXVQUqqNALI/f8uO3dNwStNxh uPYzHTiP7mMkbOlVIXeltqq7eJG00xfdvGwJw942MFsdlx3KK1PfKUy6vEJkVl3phspmjS sWi5bocGfIh+hpLew+sf+yxlqHsxN0yMPnU8eqcX55RDHFzBwZC1ZsntbvXQLQ== 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 4QSpcK0p56zZZ9; Sat, 27 May 2023 04:25:21 +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 34R4PLrD023509; Sat, 27 May 2023 04:25:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34R4PLNj023508; Sat, 27 May 2023 04:25:21 GMT (envelope-from git) Date: Sat, 27 May 2023 04:25:21 GMT Message-Id: <202305270425.34R4PLNj023508@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e545e7a4aa08 - main - sysutils/ncdu2: Add ncdu2 2.2.2 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e545e7a4aa081f00cb1ce24943f80616cb44dfdf Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e545e7a4aa081f00cb1ce24943f80616cb44dfdf commit e545e7a4aa081f00cb1ce24943f80616cb44dfdf Author: Po-Chuan Hsieh AuthorDate: 2023-05-27 04:06:35 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-05-27 04:06:35 +0000 sysutils/ncdu2: Add ncdu2 2.2.2 Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don't have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed. --- sysutils/Makefile | 1 + sysutils/ncdu2/Makefile | 34 ++++++++++++++++++++++++++++++++++ sysutils/ncdu2/distinfo | 3 +++ sysutils/ncdu2/pkg-descr | 5 +++++ 4 files changed, 43 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 5808d4cb403b..18261fa24c55 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -821,6 +821,7 @@ SUBDIR += namefix SUBDIR += nbosd SUBDIR += ncdu + SUBDIR += ncdu2 SUBDIR += ndmpd SUBDIR += neofetch SUBDIR += nerdctl diff --git a/sysutils/ncdu2/Makefile b/sysutils/ncdu2/Makefile new file mode 100644 index 000000000000..b2249715fc98 --- /dev/null +++ b/sysutils/ncdu2/Makefile @@ -0,0 +1,34 @@ +PORTNAME= ncdu +PORTVERSION= 2.2.2 +CATEGORIES= sysutils +MASTER_SITES= https://dev.yorhel.nl/download/ +PKGNAMESUFFIX= 2 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= NCurses Disk Usage (stable version written in Zig) +WWW= https://dev.yorhel.nl/ncdu + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt + +BUILD_DEPENDS= zig>=0.10.0<0.11:lang/zig +RUN_DEPENDS= zig:lang/zig + +USES= ncurses + +BUILD_ARGS= --prefix "${PREFIX}" --verbose +MAKE_ENV= DESTDIR="${STAGEDIR}" + +PLIST_FILES= bin/ncdu \ + share/man/man1/ncdu.1.gz + +CONFLICTS_INSTALL= ncdu + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build ${BUILD_ARGS} + +do-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ncdu + ${INSTALL_MAN} ${WRKSRC}/ncdu.1 ${STAGEDIR}${PREFIX}/share/man/man1/ncdu.1 + +.include diff --git a/sysutils/ncdu2/distinfo b/sysutils/ncdu2/distinfo new file mode 100644 index 000000000000..b69053f96e94 --- /dev/null +++ b/sysutils/ncdu2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1684104284 +SHA256 (ncdu-2.2.2.tar.gz) = 90d920024e752318b469776ce57e03b3c702d49329ad9825aeeab36c3babf993 +SIZE (ncdu-2.2.2.tar.gz) = 56096 diff --git a/sysutils/ncdu2/pkg-descr b/sysutils/ncdu2/pkg-descr new file mode 100644 index 000000000000..10df1ad26ff8 --- /dev/null +++ b/sysutils/ncdu2/pkg-descr @@ -0,0 +1,5 @@ +Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find +space hogs on a remote server where you don't have an entire graphical setup +available, but it is a useful tool even on regular desktop systems. Ncdu aims to +be fast, simple and easy to use, and should be able to run in any minimal +POSIX-like environment with ncurses installed.