Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 06:45:39 +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: r569297 - in head/devel/bitkeeper: . files
Message-ID:  <202103270645.12R6jdVT005933@repo.freebsd.org>

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

Log:
  devel/bitkeeper: Use a shortcut script.
  
  A shortcut script from UNIX Power Tools is a better idea.
  
  Reported by:	tobik

Added:
  head/devel/bitkeeper/files/bk.in   (contents, props changed)
Deleted:
  head/devel/bitkeeper/files/pkg-message
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:02:55 2021	(r569296)
+++ head/devel/bitkeeper/Makefile	Sat Mar 27 06:45:39 2021	(r569297)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bitkeeper
 PORTVERSION=	7.3.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel
 MASTER_SITES=	https://www.bitkeeper.org/downloads/${PORTVERSION}/
 DISTNAME=	bk-${PORTVERSION}.src
@@ -31,6 +31,7 @@ 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
 WRKSRC=		${WRKDIR}/bk-${PORTVERSION}/src
 ALL_TARGET=	p
@@ -41,5 +42,6 @@ do-build:
 do-install:
 	@(cd ${WRKSRC}; \
 	${MAKE_CMD} DESTDIR=${STAGEDIR}${PREFIX}/bitkeeper ${INSTALL_TARGET}); \
+	${INSTALL_SCRIPT} ${WRKDIR}/bk ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Added: head/devel/bitkeeper/files/bk.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/bitkeeper/files/bk.in	Sat Mar 27 06:45:39 2021	(r569297)
@@ -0,0 +1,3 @@
+#!/bin/sh
+export PATH=%%PREFIX%%/bitkeeper:${PATH}
+exec %%PREFIX%%/bitkeeper/bk "$@"

Modified: head/devel/bitkeeper/pkg-plist
==============================================================================
--- head/devel/bitkeeper/pkg-plist	Sat Mar 27 06:02:55 2021	(r569296)
+++ head/devel/bitkeeper/pkg-plist	Sat Mar 27 06:45:39 2021	(r569297)
@@ -1,3 +1,4 @@
+bin/bk
 bitkeeper/RELEASE-NOTES.md
 bitkeeper/b64wrap
 bitkeeper/bk



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