1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/sysutils/z/Makefile
Adam Weinberger ede56be858 Add sysutils/z
It's sortof like fzf meets cd

z tracks your most used directories, based on 'frecency'.

After  a  short  learning  phase, z will take you to the most 'frecent'
directory that matches ALL of the regexes given on the command line, in
order.

For example, z foo bar would match /foo/bar but not /bar/foo. Because
they're regexes, z f b would take you to /foo/bar as well.

z is designed for use only with zsh and bash.

WWW: https://github.com/rupa/z/
2019-04-20 14:51:53 +00:00

29 lines
580 B
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= z
PORTVERSION= 1.11
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= adamw@FreeBSD.org
COMMENT= Takes you to your most used directories, based on "frecency"
LICENSE= WTFPL
USE_GITHUB= yes
GH_ACCOUNT= rupa
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
PLIST_FILES= ${DATADIR_REL}/z.sh \
man/man1/z.1.gz
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/z.sh ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/z.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>