aboutsummaryrefslogtreecommitdiffstats
path: root/misc/nut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/nut/Makefile')
-rw-r--r--misc/nut/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index 417771c8b4d4..3fa4d2c527f5 100644
--- a/misc/nut/Makefile
+++ b/misc/nut/Makefile
@@ -33,7 +33,7 @@ post-patch:
-e 's|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin/
${INSTALL} -d ${DATADIR}
${INSTALL_DATA} ${RAW:S,^,${WRKSRC}/raw.data/,} ${DATADIR}/
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/