diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-07 07:05:51 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-07 07:05:51 +0000 |
commit | 3757cb7158c16c96ad85b7bd40d65c91935fd8d3 (patch) | |
tree | 1a232c7c541c3824f162100a474d77e6cbf59bbf /misc/nut/Makefile | |
parent | - Allow to disable IPv6 support [1] (diff) |
Update to 10.0
Diffstat (limited to 'misc/nut/Makefile')
-rw-r--r-- | misc/nut/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile index 63ae5c443e6e..be44ef9827c5 100644 --- a/misc/nut/Makefile +++ b/misc/nut/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nut -PORTVERSION= 9.20 +PORTVERSION= 10.0 CATEGORIES= misc MASTER_SITES= http://www.lafn.org/~av832/ PKGNAMEPREFIX= health- @@ -18,10 +18,11 @@ MAN1= nut.1 USE_GMAKE= yes USE_REINPLACE= yes +ALL_TARGET= ${PORTNAME} post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @@ -30,7 +31,7 @@ do-install: ${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_DATA} ${WRKSRC}/raw.data/sr17.nut ${PREFIX}/etc/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/nut.1 ${MANPREFIX}/man/man1 post-install: |