mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
sysutils/autojump: Unbreak by fixing shebang
Also remove ZSH option: shell completions are now installed unconditionally. Approved by: portmgr (port compliance, infrastructure)
This commit is contained in:
parent
7f3c33bd55
commit
f9483de962
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464953
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= autojump
|
||||
PORTVERSION= 13
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.vermatech.com/distfiles/
|
||||
DISTNAME= autojump_v${PORTVERSION}
|
||||
@ -14,8 +15,9 @@ LICENSE= GPLv3
|
||||
|
||||
RUN_DEPENDS= bash:shells/bash
|
||||
|
||||
USES= python:run shebangfix
|
||||
NO_BUILD= yes
|
||||
USES= python:run
|
||||
SHEBANG_FILES= autojump jumpapplet
|
||||
SUB_FILES= pkg-install
|
||||
|
||||
PLIST_FILES= bin/autojump \
|
||||
@ -23,13 +25,8 @@ PLIST_FILES= bin/autojump \
|
||||
man/man1/autojump.1.gz \
|
||||
share/autojump/autojump.bash \
|
||||
share/autojump/autojump.zsh \
|
||||
share/autojump/icon.png
|
||||
|
||||
OPTIONS_DEFINE= ZSH
|
||||
OPTIONS_DEFAULT= ZSH
|
||||
|
||||
ZSH_RUN_DEPENDS= zsh:shells/zsh
|
||||
ZSH_PLIST_FILES= share/zsh/site-functions/_j
|
||||
share/autojump/icon.png \
|
||||
share/zsh/site-functions/_j
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/#!\/usr\/bin/s|python|env &|' \
|
||||
@ -38,8 +35,6 @@ post-patch:
|
||||
do-install:
|
||||
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${SH} ./install.sh \
|
||||
--prefix ${STAGEDIR}${PREFIX})
|
||||
|
||||
do-install-ZSH-on:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
||||
${INSTALL_DATA} ${WRKSRC}/_j \
|
||||
${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
||||
|
Loading…
Reference in New Issue
Block a user