summaryrefslogtreecommitdiff
path: root/misc/nut/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-12 23:52:28 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-12 23:52:28 +0000
commit4c870c80f998cb922dfce2cc8e5ed473b1517b1a (patch)
treefbf0725557dfc420ff03a9a88232176f6f88a9b8 /misc/nut/Makefile
parentUpdate to 0.2.2 release. (diff)
- Add missing raw data file
Submitted by: Jim Jozwiak <av832 at lafn dot org>
Diffstat (limited to 'misc/nut/Makefile')
-rw-r--r--misc/nut/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index 8c7d9ab4c1b7..d9d223ed3706 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)