aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-06-13 07:52:28 +0800
committerkrion <krion@FreeBSD.org>2004-06-13 07:52:28 +0800
commit1aa08fc99bac38dc52e061faa056716955738709 (patch)
tree5ed07910ddb859f1cf4e1698f394760ed3c5e950 /misc
parent332a07708390b31e54975767416f27e72ed6260b (diff)
downloadfreebsd-ports-graphics-1aa08fc99bac38dc52e061faa056716955738709.tar.gz
freebsd-ports-graphics-1aa08fc99bac38dc52e061faa056716955738709.tar.zst
freebsd-ports-graphics-1aa08fc99bac38dc52e061faa056716955738709.zip
- Add missing raw data file
Submitted by: Jim Jozwiak <av832 at lafn dot org>
Diffstat (limited to 'misc')
-rw-r--r--misc/nut/Makefile19
-rw-r--r--misc/nut/pkg-plist1
2 files changed, 9 insertions, 11 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index 8c7d9ab4c1b..d9d223ed370 100644
--- a/misc/nut/Makefile
+++ b/misc/nut/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nut
PORTVERSION= 9.15
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.lafn.org/~av832/
PKGNAMEPREFIX= health-
@@ -20,22 +21,18 @@ USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
- @${REINPLACE_CMD} -e \
- 's|%%PREFIX%%|${PREFIX}|g' \
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/Makefile
do-install:
${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/sr16-1.nut \
- ${PREFIX}/etc/${PORTNAME}
- ${INSTALL_MAN} ${WRKSRC}/nut.1 ${PREFIX}/man/man1
+ ${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.lib ${PREFIX}/etc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/raw.data/WEIGHT.txt ${PREFIX}/etc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/raw.data/sr16-1.nut ${PREFIX}/etc/${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/nut.1 ${MANPREFIX}/man/man1
post-install:
.if !defined(NOPORTDOCS)
diff --git a/misc/nut/pkg-plist b/misc/nut/pkg-plist
index 8452502c952..6db784dfc89 100644
--- a/misc/nut/pkg-plist
+++ b/misc/nut/pkg-plist
@@ -1,6 +1,7 @@
bin/nut
etc/nut/FOOD_DES.txt
etc/nut/NUT_DATA.txt
+etc/nut/WEIGHT.lib
etc/nut/WEIGHT.txt
etc/nut/sr16-1.nut
%%PORTDOCS%%%%DOCSDIR%%/README