Date: Tue, 29 Apr 2003 18:00:30 -0000 From: Kirill Ponomarew <ponomarew@oberon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/51596: New port: misc/nut Message-ID: <E19AZLM-000EAE-00@voodoo.oberon.net> Resent-Message-ID: <200304291800.h3TI0SZi092214@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51596 >Category: ports >Synopsis: New port: misc/nut >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 29 11:00:28 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-RELEASE i386 >Organization: Oberon.net >Environment: >Description: New port: misc/nut nut is nutrition software to record what you eat and analyze your meals for nutrient composition. The database included is the USDA Nutrient Database for Standard Reference, Release 15, which contains 6,220 foods and 117 nutrients. The program is completely menu-driven and there are no commands to learn. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # misc/nut/files/patch-Makefile # misc/nut/Makefile # misc/nut/distinfo # misc/nut/files # misc/nut/pkg-descr # misc/nut/pkg-plist # echo x - misc/nut/files/patch-Makefile sed 's/^X//' >misc/nut/files/patch-Makefile << 'END-of-misc/nut/files/patch-Makefile' X--- Makefile.orig Tue Apr 29 12:59:05 2003 X+++ Makefile Tue Apr 29 12:59:51 2003 X@@ -1,8 +1,8 @@ X objects := $(patsubst %.c,%.o,$(wildcard *.c)) X X-CFLAGS= -O3 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/lib/nut\" X+CFLAGS= -O2 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/etc/nut\" X X-nut: $(objects) X+all: $(objects) X gcc ${CFLAGS} -lm -o nut $(objects) X strip nut X END-of-misc/nut/files/patch-Makefile echo x - misc/nut/Makefile sed 's/^X//' >misc/nut/Makefile << 'END-of-misc/nut/Makefile' X# New ports collection makefile for: nut X# Date created: Tue Apr 29 12:45:30 GMT 2003 X# Whom: Kirill Ponomarew <ponomarew@oberon.net> X# X# $FreeBSD$ X# X XPORTNAME= nut XPORTVERSION= 8.0 XCATEGORIES= misc XMASTER_SITES= http://www.lafn.org/~av832/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= ponomarew@oberon.net XCOMMENT= Nut is nutrition software to record what you eat X XMAN1= nut.1 X XUSE_GMAKE= yes X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/nut ${PREFIX}/bin/ X ${MKDIR} ${PREFIX}/etc/nut X ${INSTALL_DATA} ${WRKSRC}/raw.data/FOOD_DES.txt ${PREFIX}/etc/nut/ X ${INSTALL_DATA} ${WRKSRC}/raw.data/NUT_DATA.txt ${PREFIX}/etc/nut/ X ${INSTALL_DATA} ${WRKSRC}/raw.data/WEIGHT.txt ${PREFIX}/etc/nut/ X ${INSTALL_DATA} ${WRKSRC}/raw.data/sr15.nut ${PREFIX}/etc/nut/ X ${INSTALL_MAN} ${WRKSRC}/nut.1 ${PREFIX}/man/man1/ X X.include <bsd.port.mk> END-of-misc/nut/Makefile echo x - misc/nut/distinfo sed 's/^X//' >misc/nut/distinfo << 'END-of-misc/nut/distinfo' XMD5 (nut-8.0.tar.gz) = 28a6bb3412334a896bb8621aa217ba16 END-of-misc/nut/distinfo echo c - misc/nut/files mkdir -p misc/nut/files > /dev/null 2>&1 echo x - misc/nut/pkg-descr sed 's/^X//' >misc/nut/pkg-descr << 'END-of-misc/nut/pkg-descr' Xnut is nutrition software to record what you eat and analyze Xyour meals for nutrient composition. The database included is Xthe USDA Nutrient Database for Standard Reference, Release 15, Xwhich contains 6,220 foods and 117 nutrients. This database Xcontains values for vitamins, minerals, fats, calories, Xprotein, carbohydrates, fiber, etc., and includes the essential Xpolyunsaturated fats, Omega-3 and Omega-6. Nutrient levels are Xexpressed as a percentage of the Daily Value, the familiar Xstandard of food labeling in the United States, but also can be Xfully customized. Recipes can be added, and graphs drawn. The Xprogram is completely menu-driven and there are no commands to Xlearn. X XWWW: http://www.lafn.org/~av832/ END-of-misc/nut/pkg-descr echo x - misc/nut/pkg-plist sed 's/^X//' >misc/nut/pkg-plist << 'END-of-misc/nut/pkg-plist' Xbin/nut Xetc/nut/FOOD_DES.txt Xetc/nut/NUT_DATA.txt Xetc/nut/WEIGHT.txt Xetc/nut/sr15.nut X@dirrm etc/nut END-of-misc/nut/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19AZLM-000EAE-00>