1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

devel/bitkeeper: Man page updates

Use MANDIRS instead of MANPREFIX because MANPREFIX is unreliable.

Add MANPATH configuration.

Reported by:	bapt
This commit is contained in:
Cy Schubert 2021-03-27 06:45:51 +00:00
parent 1fab754e4c
commit 4224f2e045
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569298
3 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= bitkeeper
PORTVERSION= 7.3.3
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= devel
MASTER_SITES= https://www.bitkeeper.org/downloads/${PORTVERSION}/
DISTNAME= bk-${PORTVERSION}.src
@ -31,8 +31,9 @@ RUN_DEPENDS= bash:shells/bash
USES= gmake groff bison localbase tk xorg iconv pkgconfig
USE_XORG= x11 xrender xft
SUB_FILES= bk
MANPREFIX= ${PREFIX}/bitkeeper
SUB_FILES= bk bk-man.conf
MANDIRS= ${PREFIX}/bitkeeper/man
WRKSRC= ${WRKDIR}/bk-${PORTVERSION}/src
ALL_TARGET= p
@ -43,5 +44,7 @@ do-install:
@(cd ${WRKSRC}; \
${MAKE_CMD} DESTDIR=${STAGEDIR}${PREFIX}/bitkeeper ${INSTALL_TARGET}); \
${INSTALL_SCRIPT} ${WRKDIR}/bk ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/bk-man.conf \
${STAGEDIR}${PREFIX}/etc/man.d/bk.conf
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MANPATH %%PREFIX%%/bitkeeper/man

View File

@ -606,3 +606,4 @@ bitkeeper/www/fonts/glyphicons-halflings-regular.woff2
bitkeeper/www/markdown.min.js
bitkeeper/www/sorttable.js
bitkeeper/www/trailer.gif
etc/man.d/bk.conf