1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update misc/nut (maintainer): 8.6 -> 8.7

Update misc/nut: 8.6 -> 8.7
	Bug fixes

PR:		ports/52918
Submitted by:	Kirill Ponomarew <ponomarew@oberon.net>
This commit is contained in:
Edwin Groothuis 2003-06-04 09:02:15 +00:00
parent 13980d0678
commit 9c5cff670d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82245
3 changed files with 27 additions and 11 deletions

View File

@ -6,11 +6,10 @@
#
PORTNAME= nut
PORTVERSION= 8.6
PORTVERSION= 8.7
CATEGORIES= misc
MASTER_SITES= http://www.lafn.org/~av832/
PKGNAMEPREFIX= health-
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ponomarew@oberon.net
COMMENT= Nut is nutrition software to record what you eat
@ -21,15 +20,29 @@ USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${PREFIX}/bin/
${MKDIR} ${PREFIX}/etc/nut
${INSTALL_DATA} ${WRKSRC}/raw.data/FOOD_DES.txt ${PREFIX}/etc/nut/
${INSTALL_DATA} ${WRKSRC}/raw.data/NUT_DATA.txt ${PREFIX}/etc/nut/
${INSTALL_DATA} ${WRKSRC}/raw.data/WEIGHT.txt ${PREFIX}/etc/nut/
${INSTALL_DATA} ${WRKSRC}/raw.data/sr15.nut ${PREFIX}/etc/nut/
${INSTALL_MAN} ${WRKSRC}/nut.1 ${PREFIX}/man/man1/
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/raw.data/FOOD_DES.txt \
${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/raw.data/NUT_DATA.txt \
${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/raw.data/WEIGHT.txt \
${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/raw.data/sr15.nut \
${PREFIX}/etc/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/nut.1 ${PREFIX}/man/man1
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README sr15_doc.htm
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (nut-8.6.tar.gz) = 28fbebcd3162e37fc11fa60f8a579a00
MD5 (nut-8.7.tar.gz) = 4a7a18d4bf52295dc6e1fbecd82f32e3

View File

@ -3,4 +3,7 @@ etc/nut/FOOD_DES.txt
etc/nut/NUT_DATA.txt
etc/nut/WEIGHT.txt
etc/nut/sr15.nut
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/sr15_doc.htm
@dirrm etc/nut
%%PORTDOCS%%@dirrm %%DOCSDIR%%