aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/buffer/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/misc/buffer/Makefile b/misc/buffer/Makefile
index 8c213044e303..9def65a5cba4 100644
--- a/misc/buffer/Makefile
+++ b/misc/buffer/Makefile
@@ -12,16 +12,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jonny@jonny.eng.br
COMMENT= Buffer sporadic I/O for faster tape and pipe throughput
-MAN1= buffer.1
-PLIST_FILES= bin/buffer
+PLIST_FILES= bin/buffer \
+ man/man1/buffer.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E \
-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
-e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CFLAGS}|' \
- -e 's|^(INSTBIN[[:space:]]*=).*$$|\1${PREFIX}/bin|' \
- -e 's|^(INSTMAN[[:space:]]*=).*$$|\1${MAN1PREFIX}/man/man1|' \
+ -e 's|^(INSTBIN[[:space:]]*=).*$$|\1${STAGEDIR}${PREFIX}/bin|' \
+ -e 's|^(INSTMAN[[:space:]]*=).*$$|\1${STAGEDIR}${MAN1PREFIX}/man/man1|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>