git: 21f9947ab9bb - main - sysutils/gtime: new port

From: Michael Osipov <michaelo_at_FreeBSD.org>
Date: Sat, 26 Sep 2026 22:54:55 UTC
The branch main has been updated by michaelo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=21f9947ab9bb13e4c7d1b252d5c25347c19979ff

commit 21f9947ab9bb13e4c7d1b252d5c25347c19979ff
Author:     Brian Callahan <bcallaha@monmouth.edu>
AuthorDate: 2026-08-23 23:44:26 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2026-09-26 22:54:25 +0000

    sysutils/gtime: new port
    
    GNU time runs another program, then displays information about the
    resources used by that program.
    
    Co-authored-by: Michael Osipov <michaelo@FreeBSD.org>
    PR:             297851
---
 sysutils/Makefile        |  1 +
 sysutils/gtime/Makefile  | 22 ++++++++++++++++++++++
 sysutils/gtime/distinfo  |  3 +++
 sysutils/gtime/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index f2bc294e894d..768c46512ded 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -514,6 +514,7 @@
     SUBDIR += gstat-rs
     SUBDIR += gstopd
     SUBDIR += gstreamer1-plugins-cdio
+    SUBDIR += gtime
     SUBDIR += handlr
     SUBDIR += hardlink
     SUBDIR += hare
diff --git a/sysutils/gtime/Makefile b/sysutils/gtime/Makefile
new file mode 100644
index 000000000000..475d3fb4ae77
--- /dev/null
+++ b/sysutils/gtime/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	time
+DISTVERSION=	1.10
+CATEGORIES=	sysutils
+MASTER_SITES=	GNU
+PKGNAMEPREFIX=	g
+
+MAINTAINER=	bcallaha@monmouth.edu
+COMMENT=	GNU version of the time(1) utility
+WWW=		https://www.gnu.org/software/time/
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--program-prefix=g
+
+TEST_TARGET=	check
+
+INFO=		time
+PLIST_FILES=	bin/gtime
+
+.include <bsd.port.mk>
diff --git a/sysutils/gtime/distinfo b/sysutils/gtime/distinfo
new file mode 100644
index 000000000000..3903ee0dbce7
--- /dev/null
+++ b/sysutils/gtime/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1787527604
+SHA256 (time-1.10.tar.gz) = e8c29fb4ab599d8478e41e8618f50db8aede9c90af27d0d2ef28ae50d5de09c3
+SIZE (time-1.10.tar.gz) = 851192
diff --git a/sysutils/gtime/pkg-descr b/sysutils/gtime/pkg-descr
new file mode 100644
index 000000000000..59d7d1d57094
--- /dev/null
+++ b/sysutils/gtime/pkg-descr
@@ -0,0 +1,2 @@
+GNU Time runs another program, then displays information about the
+resources used by that program.