Update manpage location (r523104)

This commit is contained in:
Sunpoet Po-Chuan Hsieh
2020-01-15 17:45:53 +00:00
parent 912615ea10
commit 8ea5516533

View File

@@ -17,16 +17,16 @@ ALL_TARGET= tty-clock
LDFLAGS+= -l${NCURSES_IMPL}
PLIST_FILES= bin/tty-clock \
man/man1/tty-clock.1.gz
share/man/man1/tty-clock.1.gz
GH_ACCOUNT= xorg62
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|; s| -g||; /@echo /d; /@chmod/d' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's| -g||; /@echo /d; /@chmod/d' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tty-clock ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/tty-clock.1 ${STAGEDIR}${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/tty-clock.1 ${STAGEDIR}${PREFIX}/share/man/man1/
.include <bsd.port.mk>