[Midnightbsd-cvs] mports: mports/misc: Add nut.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Mar 24 18:12:45 EDT 2008
Log Message:
-----------
Add nut. Crazy about your diet? This helps you find out what's in your food
Modified Files:
--------------
mports/misc:
Makefile (r1.33 -> r1.34)
Added Files:
-----------
mports/misc/nut:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/misc/Makefile,v
retrieving revision 1.33
retrieving revision 1.34
diff -L misc/Makefile -L misc/Makefile -u -r1.33 -r1.34
--- misc/Makefile
+++ misc/Makefile
@@ -71,6 +71,7 @@
SUBDIR += ldconfig_compat
SUBDIR += localedata
SUBDIR += mime-support
+ SUBDIR += nut
SUBDIR += p5-Geography-Countries
SUBDIR += p5-List-Compare
SUBDIR += pciids
--- /dev/null
+++ misc/nut/pkg-descr
@@ -0,0 +1,14 @@
+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. This database
+contains values for vitamins, minerals, fats, calories,
+protein, carbohydrates, fiber, etc., and includes the essential
+polyunsaturated fats, Omega-3 and Omega-6. Nutrient levels are
+expressed as a percentage of the Daily Value, the familiar
+standard of food labeling in the United States, but also can be
+fully customized. Recipes can be added, and graphs drawn. The
+program is completely menu-driven and there are no commands to
+learn.
+
+WWW: http://nut.sourceforge.net/
--- /dev/null
+++ misc/nut/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: nut
+# Date created: Tue Apr 29 12:45:30 GMT 2003
+# Whom: Kirill Ponomarew <ponomarew at oberon.net>
+#
+# $MidnightBSD: mports/misc/nut/Makefile,v 1.1 2008/03/24 22:12:43 laffer1 Exp $
+# $FreeBSD: ports/misc/nut/Makefile,v 1.78 2008/03/19 17:32:43 sat Exp $
+#
+
+PORTNAME= nut
+PORTVERSION= 13.3
+CATEGORIES= misc
+MASTER_SITES= SF
+PKGNAMEPREFIX= health-
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Nutrition software to record what you eat
+
+USE_GMAKE= yes
+PORTDOCS= CREDITS LICENSE README nut.html
+DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
+ALL_TARGET= ${PORTNAME}
+PORTDATA= FOOD_DES.txt NUT_DATA.txt WEIGHT.lib WEIGHT.txt sr20.nut
+PLIST_FILES= bin/${PORTNAME}
+MAN1= ${PORTNAME}.1
+.undef NOPORTDATA
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|/usr/local/lib/nut|${DATADIR}|" \
+ -e 's|^CFLAGS=|CFLAGS+=|g;s|-Os||;s|gcc|$${CC}|' ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${INSTALL} -d ${DATADIR}/
+ @cd ${WRKSRC}/raw.data/&&${INSTALL_DATA} ${PORTDATA} ${DATADIR}/
+ @${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
+.ifndef NOPORTDOCS
+ @${INSTALL} -d ${DOCSDIR}/
+ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ misc/nut/distinfo
@@ -0,0 +1,3 @@
+MD5 (nut-13.3.tar.gz) = 62136fb185795203d2c90b66a5053486
+SHA256 (nut-13.3.tar.gz) = 900670a097afa89031c4a49bfedfdae305c64c718e6da66bd1bcc1116289f293
+SIZE (nut-13.3.tar.gz) = 1193715
More information about the Midnightbsd-cvs
mailing list