svn commit: r569297 - in head/devel/bitkeeper: . files
Cy Schubert
cy at FreeBSD.org
Sat Mar 27 06:45:40 UTC 2021
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
More information about the svn-ports-head
mailing list