mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Install the manual page.
This commit is contained in:
parent
4efe82924c
commit
15f07b33d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314413
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user