aboutsummaryrefslogtreecommitdiffstats
path: root/misc/nut
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-09-23 07:37:22 +0800
committermiwi <miwi@FreeBSD.org>2008-09-23 07:37:22 +0800
commit3ddcffe6697a7e12cc0a22c9a260a882ff4037a6 (patch)
treef086c494b57970a33e2070513a01a90ddebf83c1 /misc/nut
parentababc210f654faed4528d0c7e4374fbd13d6767d (diff)
downloadfreebsd-ports-gnome-3ddcffe6697a7e12cc0a22c9a260a882ff4037a6.tar.gz
freebsd-ports-gnome-3ddcffe6697a7e12cc0a22c9a260a882ff4037a6.tar.zst
freebsd-ports-gnome-3ddcffe6697a7e12cc0a22c9a260a882ff4037a6.zip
- Update to 14.0
Diffstat (limited to 'misc/nut')
-rw-r--r--misc/nut/Makefile15
-rw-r--r--misc/nut/distinfo6
2 files changed, 11 insertions, 10 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index d479d82ab52f..34f154605578 100644
--- a/misc/nut/Makefile
+++ b/misc/nut/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nut
-PORTVERSION= 13.9
+PORTVERSION= 14.0
CATEGORIES= misc
MASTER_SITES= SF
PKGNAMEPREFIX= health-
@@ -15,13 +15,14 @@ MAINTAINER= miwi@FreeBSD.org
COMMENT= Nutrition software to record what you eat
USE_GMAKE= yes
-PORTDOCS= CREDITS LICENSE README nut.html
+PORTDOCS= CREDITS LICENSE README nut.html README.DOS
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}
+PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/FOOD_DES.txt \
+ %%DATADIR%%/NUT_DATA.txt %%DATADIR%%/WEIGHT.lib \
+ %%DATADIR%%/WEIGHT.txt %%DATADIR%%/sr21.nut
+PLIST_DIRS= %%DATADIR%%
MAN1= ${PORTNAME}.1
-.undef NOPORTDATA
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local/lib/nut|${DATADIR}|" \
@@ -30,11 +31,11 @@ post-patch:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL} -d ${DATADIR}/
- @cd ${WRKSRC}/raw.data/&&${INSTALL_DATA} ${PORTDATA} ${DATADIR}/
+ @cd ${WRKSRC}/raw.data/ && ${COPYTREE_SHARE} . ${DATADIR}/
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
- @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/misc/nut/distinfo b/misc/nut/distinfo
index 7d0769c841ab..e3a1880dff0a 100644
--- a/misc/nut/distinfo
+++ b/misc/nut/distinfo
@@ -1,3 +1,3 @@
-MD5 (nut-13.9.tar.gz) = 649464752fb76abb9070ad92d9f13304
-SHA256 (nut-13.9.tar.gz) = 5453403c7fd4626bf5d06d5c89abf0b9309ea2f88b865410943609300d64edc4
-SIZE (nut-13.9.tar.gz) = 1182606
+MD5 (nut-14.0.tar.gz) = 1f741641219f4a0bc92dd0c01dd34f7b
+SHA256 (nut-14.0.tar.gz) = 2f31d8af34734b8af4c80dc0ce4937139909b194517b2a82a1cf0c40c2dc1a69
+SIZE (nut-14.0.tar.gz) = 1160656