From 579702e0d864b75bf85350345e72d01de5cba709 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 8 Dec 2013 03:21:53 +0000 Subject: [PATCH] - Add stage support --- misc/whichman/Makefile | 10 +++++----- 1 file 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