# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 name z description Tracks most-used directories to make cd smarter long_description ${name} is a shell utility for navigating most-used \ directories. categories sysutils installs_libs no license WTFPL-2 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer platforms any supported_archs noarch if {${name} eq ${subport}} { github.setup rupa z 1.12 v github.tarball_from archive revision 0 checksums rmd160 5cc644be40fae167ffe59afed583f265ea806dfc \ sha256 7d8695f2f5af6805f0db231e6ed571899b8b375936a8bfca81a522b7082b574e \ size 6413 conflicts z-devel } subport z-devel { github.setup rupa z d37a763a6a30e1b32766fecc3b8ffd6127f8a0fd github.tarball_from archive version 20231209 revision 0 checksums rmd160 9fbbb73cde924f32d14ba7284c12c62d01c45beb \ sha256 21823c0587b5e78d5b365a17f236f200e5f8ba26ffdecfe3ec8d09cf43b199e0 \ size 6418 conflicts z } use_configure no build {} destroot { xinstall -d ${destroot}${prefix}/etc/profile.d/ xinstall -m 0644 ${worksrcpath}/z.sh ${destroot}${prefix}/etc/profile.d/ xinstall -m 0444 ${worksrcpath}/z.1 ${destroot}${prefix}/share/man/man1/ } notes " To use z for bash or zsh, put something like this in your .bashrc or .zshrc: . ${prefix}/etc/profile.d/z.sh cd around for a while to build up the db. "