aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-03-17 16:58:50 +0800
committerdanfe <danfe@FreeBSD.org>2013-03-17 16:58:50 +0800
commit1837af85d84dd71aea616dd43247ba5b89f027b0 (patch)
treedd1b4574422422d2eccf08b5217294f5b9ae0dcc /benchmarks
parente61f56249d021c93e9153c878db0261458d50116 (diff)
downloadfreebsd-ports-gnome-1837af85d84dd71aea616dd43247ba5b89f027b0.tar.gz
freebsd-ports-gnome-1837af85d84dd71aea616dd43247ba5b89f027b0.tar.zst
freebsd-ports-gnome-1837af85d84dd71aea616dd43247ba5b89f027b0.zip
Install the manual page.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/interbench/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/interbench/Makefile b/benchmarks/interbench/Makefile
index 265e0503da4c..5ffffe198407 100644
--- a/benchmarks/interbench/Makefile
+++ b/benchmarks/interbench/Makefile
@@ -16,6 +16,7 @@ USE_GMAKE= yes
ALL_TARGET= clean ${PORTNAME}
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+MAN8= ${PORTNAME}.8
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= readme readme.interactivity
@@ -27,8 +28,14 @@ OPTIONS_DEFINE= DOCS
BROKEN= does not build, requires sqrtl(3)
.endif
+post-patch:
+# Do not confuse the reader that this program is Linux-specific
+ @${REINPLACE_CMD} -e '/kernel/!s,Linux,Unix-like systems, ; \
+ /kernel/s,Linux,the,' ${WRKSRC}/${MAN8}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}