aboutsummaryrefslogtreecommitdiff
path: root/misc/nut
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
parent2ace261edf6a0e63f9bbc5c3e1e1267ba49561a7 (diff)
downloadports-4c870c80f998cb922dfce2cc8e5ed473b1517b1a.tar.gz
ports-4c870c80f998cb922dfce2cc8e5ed473b1517b1a.zip
Notes
Diffstat (limited to 'misc/nut')
-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 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)
diff --git a/misc/nut/pkg-plist b/misc/nut/pkg-plist
index 8452502c952d..6db784dfc89d 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