1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add missing raw data file

Submitted by:	Jim Jozwiak <av832 at lafn dot org>
This commit is contained in:
Kirill Ponomarev 2004-06-12 23:52:28 +00:00
parent 2ace261edf
commit 4c870c80f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111370
2 changed files with 9 additions and 11 deletions

View File

@ -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)

View File

@ -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