aboutsummaryrefslogtreecommitdiff
path: root/misc/whichman
diff options
context:
space:
mode:
Diffstat (limited to 'misc/whichman')
-rw-r--r--misc/whichman/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/whichman/Makefile b/misc/whichman/Makefile
index 98a889141bb4..263c1b45cde0 100644
--- a/misc/whichman/Makefile
+++ b/misc/whichman/Makefile
@@ -12,17 +12,17 @@ COMMENT= Approximate matching utilities to search for manpages and files
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
-MAN1= ftff.1 ftwhich.1 whichman.1
-PLIST_FILES= bin/ftff bin/ftwhich bin/whichman
+PLIST_FILES= bin/ftff bin/ftwhich bin/whichman \
+ man/man1/ftff.1.gz man/man1/ftwhich.1.gz \
+ man/man1/whichman.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/man:||g' ${WRKSRC}/whichman.c
do-install:
.for name in ftff ftwhich whichman
- ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man1/${name}.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man1/${name}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>