summaryrefslogtreecommitdiff
path: root/sysutils/autojump/Makefile
blob: aa13102a6b9f002bb945972aecf7c0cd104b4af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PORTNAME=	autojump
PORTVERSION=	22.5.3
PORTREVISION=	1
DISTVERSIONPREFIX=	release-v
CATEGORIES=	sysutils

MAINTAINER=	michel@boaventura.dev
COMMENT=	Faster way to navigate your filesystem

LICENSE=	GPLv3+

USES=	python:run shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	wting
USE_PYTHON=	concurrent autoplist
SHEBANG_FILES=	bin/autojump

NO_BUILD=	yes
NO_ARCH=	yes

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${PREFIX}/share/autojump
	${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/bin/autojump ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/*.py ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/autojump.bash ${STAGEDIR}${PREFIX}/share/autojump
	${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/autojump.zsh ${STAGEDIR}${PREFIX}/share/autojump
	${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/autojump.fish ${STAGEDIR}${PREFIX}/share/autojump
	${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/_j ${STAGEDIR}${PREFIX}/share/zsh/site-functions

.include <bsd.port.mk>