Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 20:44:55 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464953 - head/sysutils/autojump
Message-ID:  <201803182044.w2IKitom093068@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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