Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 06:45:51 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569298 - in head/devel/bitkeeper: . files
Message-ID:  <202103270645.12R6jpAo006065@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sat Mar 27 06:45:51 2021
New Revision: 569298
URL: https://svnweb.freebsd.org/changeset/ports/569298

Log:
  devel/bitkeeper: Man page updates
  
  Use MANDIRS instead of MANPREFIX because MANPREFIX is unreliable.
  
  Add MANPATH configuration.
  
  Reported by:	bapt

Added:
  head/devel/bitkeeper/files/bk-man.conf.in   (contents, props changed)
Modified:
  head/devel/bitkeeper/Makefile   (contents, props changed)
  head/devel/bitkeeper/pkg-plist   (contents, props changed)

Modified: head/devel/bitkeeper/Makefile
==============================================================================
--- head/devel/bitkeeper/Makefile	Sat Mar 27 06:45:39 2021	(r569297)
+++ head/devel/bitkeeper/Makefile	Sat Mar 27 06:45:51 2021	(r569298)
@@ -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>

Added: head/devel/bitkeeper/files/bk-man.conf.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/bitkeeper/files/bk-man.conf.in	Sat Mar 27 06:45:51 2021	(r569298)
@@ -0,0 +1 @@
+MANPATH %%PREFIX%%/bitkeeper/man

Modified: head/devel/bitkeeper/pkg-plist
==============================================================================
--- head/devel/bitkeeper/pkg-plist	Sat Mar 27 06:45:39 2021	(r569297)
+++ head/devel/bitkeeper/pkg-plist	Sat Mar 27 06:45:51 2021	(r569298)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103270645.12R6jpAo006065>