svn commit: r314413 - head/benchmarks/interbench

Alexey Dokuchaev danfe at FreeBSD.org
Sun Mar 17 08:58:51 UTC 2013


Author: danfe
Date: Sun Mar 17 08:58:50 2013
New Revision: 314413
URL: http://svnweb.freebsd.org/changeset/ports/314413

Log:
  Install the manual page.

Modified:
  head/benchmarks/interbench/Makefile

Modified: head/benchmarks/interbench/Makefile
==============================================================================
--- head/benchmarks/interbench/Makefile	Sun Mar 17 08:56:30 2013	(r314412)
+++ head/benchmarks/interbench/Makefile	Sun Mar 17 08:58:50 2013	(r314413)
@@ -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}


More information about the svn-ports-all mailing list