pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/biology/nutsqlite



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Thu Apr 11 17:59:48 UTC 2024

Added Files:
        pkgsrc/biology/nutsqlite: DESCR Makefile PLIST distinfo
        pkgsrc/biology/nutsqlite/files: README.pkgsrc.txt nut nut-update

Log Message:
nutsqlite: added version 2.0.6

biology/nutsqlite supersedes the biology/nut.

NUT is nutrition software to record what you eat and analyze your
meals for nutrient composition.  Besides the usual features of
nutrition software, NUT includes a novel automatic portion control
feature that allows you to plan nutritious meals when experimenting
with different calorie levels, different levels of protein,
carbohydate, and fat, and different food exclusions.  NUT also
offers a well-organized presentation of the nutrients that can help
you learn human nutrition by simply playing with the software.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/biology/nutsqlite/DESCR \
    pkgsrc/biology/nutsqlite/Makefile pkgsrc/biology/nutsqlite/PLIST \
    pkgsrc/biology/nutsqlite/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/biology/nutsqlite/files/README.pkgsrc.txt \
    pkgsrc/biology/nutsqlite/files/nut \
    pkgsrc/biology/nutsqlite/files/nut-update

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/biology/nutsqlite/DESCR
diff -u /dev/null pkgsrc/biology/nutsqlite/DESCR:1.1
--- /dev/null   Thu Apr 11 17:59:48 2024
+++ pkgsrc/biology/nutsqlite/DESCR      Thu Apr 11 17:59:48 2024
@@ -0,0 +1,9 @@
+NUT is nutrition software to record what you eat and analyze your
+meals for nutrient composition.  Besides the usual features of
+nutrition software, NUT includes a novel automatic portion control
+feature that allows you to plan nutritious meals when experimenting
+with different calorie levels, different levels of protein,
+carbohydate, and fat, and different food exclusions.  NUT also
+offers a well-organized presentation of the nutrients that can help
+you learn human nutrition by simply playing with the software.
+
Index: pkgsrc/biology/nutsqlite/Makefile
diff -u /dev/null pkgsrc/biology/nutsqlite/Makefile:1.1
--- /dev/null   Thu Apr 11 17:59:48 2024
+++ pkgsrc/biology/nutsqlite/Makefile   Thu Apr 11 17:59:48 2024
@@ -0,0 +1,47 @@
+# $NetBSD $
+
+DISTNAME=      NUTsqlite-2.0.6
+CATEGORIES=    biology
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nut/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://nut.sourceforge.net/
+COMMENT=       Record what you eat and analyze your meals
+LICENSE=       gnu-gpl-v2
+
+DEPENDS+=      tcl-[0-9]*:../../lang/tcl
+DEPENDS+=      tk-[0-9]*:../../x11/tk
+DEPENDS+=      sqlite3-[0-9]*:../../databases/sqlite3
+
+WRKSRC=                ${WRKDIR}/nutsqlite-2.0.6
+EXTRACT_DIR=   ${WRKSRC}
+
+SUPERSEDES+=   nut-[0-9]*
+
+INSTALLATION_DIRS=     bin libexec/nut ${PKGMANDIR}/man1 share/doc/nut
+
+SUBST_CLASSES+=                scripts
+SUBST_STAGE.scripts=   pre-build
+SUBST_FILES.scripts=   nut nut-update
+SUBST_VARS.scripts=    PREFIX
+
+FILESDIR=      ${PKGDIR}/files
+
+post-extract:
+       ${CP} ${FILESDIR}/nut ${FILESDIR}/nut-update \
+               ${FILESDIR}/README.pkgsrc.txt ${WRKSRC}
+
+do-build:
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/nut ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/nut-update ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/nut.tcl ${DESTDIR}${PREFIX}/libexec/nut
+       ${INSTALL_DATA} ${WRKSRC}/updateNUT.tcl ${DESTDIR}${PREFIX}/libexec/nut
+       ${INSTALL_MAN} ${WRKSRC}/nut.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nut
+       ${INSTALL_MAN} ${WRKSRC}/README.pkgsrc.txt ${DESTDIR}${PREFIX}/share/doc/nut
+
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/biology/nutsqlite/PLIST
diff -u /dev/null pkgsrc/biology/nutsqlite/PLIST:1.1
--- /dev/null   Thu Apr 11 17:59:48 2024
+++ pkgsrc/biology/nutsqlite/PLIST      Thu Apr 11 17:59:48 2024
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2024/04/11 17:59:48 ktnb Exp $
+bin/nut
+bin/nut-update
+libexec/nut/nut.tcl
+libexec/nut/updateNUT.tcl
+man/man1/nut.1
+share/doc/nut/README
+share/doc/nut/README.pkgsrc.txt
Index: pkgsrc/biology/nutsqlite/distinfo
diff -u /dev/null pkgsrc/biology/nutsqlite/distinfo:1.1
--- /dev/null   Thu Apr 11 17:59:48 2024
+++ pkgsrc/biology/nutsqlite/distinfo   Thu Apr 11 17:59:48 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/04/11 17:59:48 ktnb Exp $
+
+BLAKE2s (NUTsqlite-2.0.6.zip) = 9d69a4b64129c73c8391216e8cff39410410a43eea77392663bf4de9e69b8a71
+SHA512 (NUTsqlite-2.0.6.zip) = ca413da37a863500300e3a601b7783a6d8b622fbbcdaff478de8be142e2da4a16ab126ac6af93ef44e45163792099fa5aba7b65b45599d5425ac2037fbef1e4b
+Size (NUTsqlite-2.0.6.zip) = 138912 bytes

Index: pkgsrc/biology/nutsqlite/files/README.pkgsrc.txt
diff -u /dev/null pkgsrc/biology/nutsqlite/files/README.pkgsrc.txt:1.1
--- /dev/null   Thu Apr 11 17:59:49 2024
+++ pkgsrc/biology/nutsqlite/files/README.pkgsrc.txt    Thu Apr 11 17:59:48 2024
@@ -0,0 +1,9 @@
+=== NUTsqlite ===
+
+NUT requires that you install the ascii version of the USDA Nutrient
+Database. This database can be install either form the USDA directly
+or from http://nut.sourceforge.net/ (sr28nut.zip). This database is
+no longer shipped with NUT. These files will need to be extracted
+into the same directory as your user's nut.db file. Then you can
+use NUT as intended. Please see ${PREFIX}/share/doc/nut/README for
+more information.
Index: pkgsrc/biology/nutsqlite/files/nut
diff -u /dev/null pkgsrc/biology/nutsqlite/files/nut:1.1
--- /dev/null   Thu Apr 11 17:59:49 2024
+++ pkgsrc/biology/nutsqlite/files/nut  Thu Apr 11 17:59:48 2024
@@ -0,0 +1,2 @@
+#!/bin/sh
+@PREFIX@/bin/tclsh @PREFIX@/libexec/nut/nut.tcl "$@"
Index: pkgsrc/biology/nutsqlite/files/nut-update
diff -u /dev/null pkgsrc/biology/nutsqlite/files/nut-update:1.1
--- /dev/null   Thu Apr 11 17:59:49 2024
+++ pkgsrc/biology/nutsqlite/files/nut-update   Thu Apr 11 17:59:48 2024
@@ -0,0 +1,2 @@
+#!/bin/sh
+@PREFIX@/bin/tclsh @PREFIX@/libexec/nut/updateNUT.tcl "$@"



Home | Main Index | Thread Index | Old Index