textproc/sd: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Nuno Teixeira 2024-03-22 21:51:03 +00:00
parent 55844ad8dd
commit d550e9f765

View file

@ -1,7 +1,7 @@
PORTNAME= sd
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= textproc
MAINTAINER= mikael@FreeBSD.org
@ -17,8 +17,8 @@ GH_ACCOUNT= chmln
PLIST_FILES= bin/sd \
etc/bash_completion.d/sd.bash \
man/man1/sd.1.gz \
share/fish/completions/sd.fish \
share/man/man1/sd.1.gz \
share/zsh/site-functions/_sd
PORTDOCS= README.md
@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sd
${INSTALL_MAN} ${WRKSRC}/gen/sd.1 \
${STAGEDIR}${PREFIX}/man/man1
${STAGEDIR}${PREFIX}/share/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/gen/completions/sd.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d