git: 6dc3d2f78948 - main - deskutils/gnutrition: Free nutrition tracker software
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Jun 2026 12:16:42 UTC
The branch main has been updated by mce:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6dc3d2f789485495d45ba56c17e953483a101859
commit 6dc3d2f789485495d45ba56c17e953483a101859
Author: Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-06-09 11:51:43 +0000
Commit: Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-06-10 12:15:18 +0000
deskutils/gnutrition: Free nutrition tracker software
https://lists.gnu.org/archive/html/info-gnutrition/2026-06/msg00002.html
PR: 295960
Approved by: osa (mentor)
---
deskutils/Makefile | 1 +
deskutils/gnutrition/Makefile | 23 +++++++++++++++++++++++
deskutils/gnutrition/distinfo | 3 +++
deskutils/gnutrition/files/patch-Makefile.in | 12 ++++++++++++
deskutils/gnutrition/pkg-descr | 4 ++++
5 files changed, 43 insertions(+)
diff --git a/deskutils/Makefile b/deskutils/Makefile
index a610fe93d642..2ca66469679b 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -100,6 +100,7 @@
SUBDIR += gnote
SUBDIR += gnotime
SUBDIR += gnustep-wrapper
+ SUBDIR += gnutrition
SUBDIR += go-for-it
SUBDIR += goesimage
SUBDIR += gpicker
diff --git a/deskutils/gnutrition/Makefile b/deskutils/gnutrition/Makefile
new file mode 100644
index 000000000000..0f3b804e01ab
--- /dev/null
+++ b/deskutils/gnutrition/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= gnutrition
+DISTVERSION= 0.33
+CATEGORIES= deskutils
+MASTER_SITES= GNU
+
+MAINTAINER= mce@FreeBSD.org
+COMMENT= Free nutrition tracker software
+WWW= http://www.gnu.org/software/gnutrition/
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gettext-runtime gmake gnome pkgconfig sqlite tar:xz
+USE_GNOME= glib20 gtk30
+
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/gnutrition ${DATADIR}/food.db
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.mk>
diff --git a/deskutils/gnutrition/distinfo b/deskutils/gnutrition/distinfo
new file mode 100644
index 000000000000..09be013c1534
--- /dev/null
+++ b/deskutils/gnutrition/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1780998592
+SHA256 (gnutrition-0.33.tar.xz) = 3dd74fb8fc610b56ba530f094fc450ffcabb6545aaa93156d36101eb6a42f508
+SIZE (gnutrition-0.33.tar.xz) = 1120068
diff --git a/deskutils/gnutrition/files/patch-Makefile.in b/deskutils/gnutrition/files/patch-Makefile.in
new file mode 100644
index 000000000000..1f40d594f66c
--- /dev/null
+++ b/deskutils/gnutrition/files/patch-Makefile.in
@@ -0,0 +1,12 @@
+--- Makefile.in.orig 2026-06-09 10:14:45 UTC
++++ Makefile.in
+@@ -338,9 +338,7 @@ doc_DATA = \
+ AUTHORS \
+ ChangeLog \
+ ChangeLog.OLD \
+- COPYING \
+ gnutrition.html \
+- INSTALL \
+ NEWS \
+ README
+
diff --git a/deskutils/gnutrition/pkg-descr b/deskutils/gnutrition/pkg-descr
new file mode 100644
index 000000000000..d0714ee133bd
--- /dev/null
+++ b/deskutils/gnutrition/pkg-descr
@@ -0,0 +1,4 @@
+GNUtrition is a free nutrition tracker software that queries USDA food
+data from a local SQLite database. It provides an easy-to-use interface
+for searching foods, logging meals, and reviewing daily food-group
+budgets.