svn commit: r464953 - head/sysutils/autojump

Yuri Victorovich yuri at FreeBSD.org
Sun Mar 18 20:44:56 UTC 2018


Author: yuri
Date: Sun Mar 18 20:44:55 2018
New Revision: 464953
URL: https://svnweb.freebsd.org/changeset/ports/464953

Log:
  sysutils/autojump: Unbreak by fixing shebang
  
  Also remove ZSH option: shell completions are now
  installed unconditionally.
  
  Approved by:	portmgr (port compliance, infrastructure)

Modified:
  head/sysutils/autojump/Makefile

Modified: head/sysutils/autojump/Makefile
==============================================================================
--- head/sysutils/autojump/Makefile	Sun Mar 18 20:39:04 2018	(r464952)
+++ head/sysutils/autojump/Makefile	Sun Mar 18 20:44:55 2018	(r464953)
@@ -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,14 +25,9 @@ PLIST_FILES=	bin/autojump \
 		man/man1/autojump.1.gz \
 		share/autojump/autojump.bash \
 		share/autojump/autojump.zsh \
-		share/autojump/icon.png
+		share/autojump/icon.png \
+		share/zsh/site-functions/_j
 
-OPTIONS_DEFINE=		ZSH
-OPTIONS_DEFAULT=	ZSH
-
-ZSH_RUN_DEPENDS=	zsh:shells/zsh
-ZSH_PLIST_FILES=	share/zsh/site-functions/_j
-
 post-patch:
 	@${REINPLACE_CMD} -e '/#!\/usr\/bin/s|python|env &|' \
 		${WRKSRC}/autojump
@@ -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


More information about the svn-ports-all mailing list