diff options
author | edwin <edwin@FreeBSD.org> | 2003-06-04 17:02:15 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-06-04 17:02:15 +0800 |
commit | 8350c76e22865fadd6a1977c83ef6bf8a7da9810 (patch) | |
tree | b1a4324cfc2a6a0a495895619bdf6caaff34e1cb /misc/nut | |
parent | 39563460c79906f72f4a5528a54062639d576463 (diff) | |
download | freebsd-ports-gnome-8350c76e22865fadd6a1977c83ef6bf8a7da9810.tar.gz freebsd-ports-gnome-8350c76e22865fadd6a1977c83ef6bf8a7da9810.tar.zst freebsd-ports-gnome-8350c76e22865fadd6a1977c83ef6bf8a7da9810.zip |
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>
Diffstat (limited to 'misc/nut')
-rw-r--r-- | misc/nut/Makefile | 33 | ||||
-rw-r--r-- | misc/nut/distinfo | 2 | ||||
-rw-r--r-- | misc/nut/pkg-plist | 3 |
3 files changed, 27 insertions, 11 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile index b6f18f1007aa..2616dc79fb9b 100644 --- a/misc/nut/Makefile +++ b/misc/nut/Makefile @@ -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> diff --git a/misc/nut/distinfo b/misc/nut/distinfo index b773047fb884..831e6f648efc 100644 --- a/misc/nut/distinfo +++ b/misc/nut/distinfo @@ -1 +1 @@ -MD5 (nut-8.6.tar.gz) = 28fbebcd3162e37fc11fa60f8a579a00 +MD5 (nut-8.7.tar.gz) = 4a7a18d4bf52295dc6e1fbecd82f32e3 diff --git a/misc/nut/pkg-plist b/misc/nut/pkg-plist index cd776366ce18..9263288d61a2 100644 --- a/misc/nut/pkg-plist +++ b/misc/nut/pkg-plist @@ -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%% |