devel/bitkeeper: Use a shortcut script.
A shortcut script from UNIX Power Tools is a better idea. Reported by: tobik
This commit is contained in:
parent
c3c830510c
commit
1fab754e4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569297
4 changed files with 7 additions and 10 deletions
|
@ -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>
|
||||
|
|
3
devel/bitkeeper/files/bk.in
Normal file
3
devel/bitkeeper/files/bk.in
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
export PATH=%%PREFIX%%/bitkeeper:${PATH}
|
||||
exec %%PREFIX%%/bitkeeper/bk "$@"
|
|
@ -1,9 +0,0 @@
|
|||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
The binaries to bitkeeper are in ${LOCALBASE}/bitkeeper/bin.
|
||||
This directory must be added to $PATH. A symbolic link to the
|
||||
bk binary will not work.
|
||||
EOM
|
||||
}
|
||||
]
|
|
@ -1,3 +1,4 @@
|
|||
bin/bk
|
||||
bitkeeper/RELEASE-NOTES.md
|
||||
bitkeeper/b64wrap
|
||||
bitkeeper/bk
|
||||
|
|
Loading…
Reference in a new issue