pkgsrc/sysutils/exa/Makefile

43 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2021/11/08 05:11:27 fox Exp $
DISTNAME= exa-0.10.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=ogham/}
GITHUB_TAG= v${PKGVERSION_NOREV}
DIST_SUBDIR= ${PKGBASE}
EXTRACT_USING= bsdtar
MAINTAINER= fox@NetBSD.org
HOMEPAGE= https://the.exa.website/
COMMENT= Replacement for ls(1) written in Rust
LICENSE= mit
.include "cargo-depends.mk"
USE_LANGUAGES= c
INSTALLATION_DIRS= bin \
${PKGMANDIR}/man1 \
sysutils/exa: Updates to 0.10.0 Adds the manually generated man pages using pandoc(1). Changes since 0.9.0: exa release v0.10.0 Sorry about the delay, everyone. My aim is still to follow the Rust project itself, and make smaller releases more often. Gonna keep trying until I get there. There will be four new types of archive available from now on! An armv7 Linux build, a musl Linux build, an archive containing only the compiled man page and completions, and an archive containing the complete vendored source code. This version should be the last version without Windows support. Additions * The --time flag now defaults to modified without an argument (36cf5df) * Add options to hide table columns (925f517) * Add customisation settings to change the size colour scale (3ef6195) * Add flag for octal permissions (16046d5) * Add environment variable for icon spacing (51be9f4) * Add --numeric flag to display UIDs and GIDs (4ea79ee) Changes * Make single-digit hour times zero-padded (1bf9e39) * Include symlinks to directories when grouping directories first (69a7e53) * Do not sort command-line arguments when --sort=none (bbd6db3) * Warn when trying to use the Git feature when it’s disabled (a740512) * Sort the command-line arguments (a740512) * Allow absolute paths in $TZ environment variable (57cf0f1) * Escape the delete character in filenames (b5b7310) * Symlinks to directory now use the ‘directory’ icon (0a7ffcd) Fixes * Fix bug where icons weren’t displayed when file grid wraps (dd9dfff) * Fix bug where the wrong file timestamp was being used (215b779) * Fix crash on broken symlink in Git repository (a7a8e99) * Fix bug where long grid view didn’t turn into long view when piping (6010ed5) * Fix handling of potentially-unsupported time metadata. (a636d08) * Fix .gitignore parsing by using libgit2 instead of doing it ourselves. (046af5c) * Fix crash on encountering a pre-Unix-epoch timestamp. (bc830b9) * Fix display of August in timestamps. (3fe35b5) * Fix inverted space colour of icons when selecting them. (79bac41) * Fix extra column in long grid mode. (0f414cf) * Fix rounding of human-readable filesizes. (74ecf6d) Contributors Thanks to 0rvar, 0x3333, b05902132, BrennanMcDonald, de-vri-es, emgelb, FliegendeWurst, Freaky, imsofi, j-tai, LarsHaalck, mqudsi, msehnout, PatriotRossii, VichoReyes, whonore, and many others for contributing. Special thanks to ariasuni.
2021-04-07 13:38:11 +02:00
${PKGMANDIR}/man5 \
share/bash-completion/completions \
share/fish/vendor_completions.d \
share/zsh/site-functions
sysutils/exa: Updates to 0.10.0 Adds the manually generated man pages using pandoc(1). Changes since 0.9.0: exa release v0.10.0 Sorry about the delay, everyone. My aim is still to follow the Rust project itself, and make smaller releases more often. Gonna keep trying until I get there. There will be four new types of archive available from now on! An armv7 Linux build, a musl Linux build, an archive containing only the compiled man page and completions, and an archive containing the complete vendored source code. This version should be the last version without Windows support. Additions * The --time flag now defaults to modified without an argument (36cf5df) * Add options to hide table columns (925f517) * Add customisation settings to change the size colour scale (3ef6195) * Add flag for octal permissions (16046d5) * Add environment variable for icon spacing (51be9f4) * Add --numeric flag to display UIDs and GIDs (4ea79ee) Changes * Make single-digit hour times zero-padded (1bf9e39) * Include symlinks to directories when grouping directories first (69a7e53) * Do not sort command-line arguments when --sort=none (bbd6db3) * Warn when trying to use the Git feature when it’s disabled (a740512) * Sort the command-line arguments (a740512) * Allow absolute paths in $TZ environment variable (57cf0f1) * Escape the delete character in filenames (b5b7310) * Symlinks to directory now use the ‘directory’ icon (0a7ffcd) Fixes * Fix bug where icons weren’t displayed when file grid wraps (dd9dfff) * Fix bug where the wrong file timestamp was being used (215b779) * Fix crash on broken symlink in Git repository (a7a8e99) * Fix bug where long grid view didn’t turn into long view when piping (6010ed5) * Fix handling of potentially-unsupported time metadata. (a636d08) * Fix .gitignore parsing by using libgit2 instead of doing it ourselves. (046af5c) * Fix crash on encountering a pre-Unix-epoch timestamp. (bc830b9) * Fix display of August in timestamps. (3fe35b5) * Fix inverted space colour of icons when selecting them. (79bac41) * Fix extra column in long grid mode. (0f414cf) * Fix rounding of human-readable filesizes. (74ecf6d) Contributors Thanks to 0rvar, 0x3333, b05902132, BrennanMcDonald, de-vri-es, emgelb, FliegendeWurst, Freaky, imsofi, j-tai, LarsHaalck, mqudsi, msehnout, PatriotRossii, VichoReyes, whonore, and many others for contributing. Special thanks to ariasuni.
2021-04-07 13:38:11 +02:00
post-build:
${CP} ${FILESDIR}/exa.1 ${WRKDIR}/exa.1
${CP} ${FILESDIR}/exa_colors.5 ${WRKDIR}/exa_colors.5
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/exa ${DESTDIR}${PREFIX}/bin
sysutils/exa: Updates to 0.10.0 Adds the manually generated man pages using pandoc(1). Changes since 0.9.0: exa release v0.10.0 Sorry about the delay, everyone. My aim is still to follow the Rust project itself, and make smaller releases more often. Gonna keep trying until I get there. There will be four new types of archive available from now on! An armv7 Linux build, a musl Linux build, an archive containing only the compiled man page and completions, and an archive containing the complete vendored source code. This version should be the last version without Windows support. Additions * The --time flag now defaults to modified without an argument (36cf5df) * Add options to hide table columns (925f517) * Add customisation settings to change the size colour scale (3ef6195) * Add flag for octal permissions (16046d5) * Add environment variable for icon spacing (51be9f4) * Add --numeric flag to display UIDs and GIDs (4ea79ee) Changes * Make single-digit hour times zero-padded (1bf9e39) * Include symlinks to directories when grouping directories first (69a7e53) * Do not sort command-line arguments when --sort=none (bbd6db3) * Warn when trying to use the Git feature when it’s disabled (a740512) * Sort the command-line arguments (a740512) * Allow absolute paths in $TZ environment variable (57cf0f1) * Escape the delete character in filenames (b5b7310) * Symlinks to directory now use the ‘directory’ icon (0a7ffcd) Fixes * Fix bug where icons weren’t displayed when file grid wraps (dd9dfff) * Fix bug where the wrong file timestamp was being used (215b779) * Fix crash on broken symlink in Git repository (a7a8e99) * Fix bug where long grid view didn’t turn into long view when piping (6010ed5) * Fix handling of potentially-unsupported time metadata. (a636d08) * Fix .gitignore parsing by using libgit2 instead of doing it ourselves. (046af5c) * Fix crash on encountering a pre-Unix-epoch timestamp. (bc830b9) * Fix display of August in timestamps. (3fe35b5) * Fix inverted space colour of icons when selecting them. (79bac41) * Fix extra column in long grid mode. (0f414cf) * Fix rounding of human-readable filesizes. (74ecf6d) Contributors Thanks to 0rvar, 0x3333, b05902132, BrennanMcDonald, de-vri-es, emgelb, FliegendeWurst, Freaky, imsofi, j-tai, LarsHaalck, mqudsi, msehnout, PatriotRossii, VichoReyes, whonore, and many others for contributing. Special thanks to ariasuni.
2021-04-07 13:38:11 +02:00
${INSTALL_MAN} ${WRKDIR}/exa.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKDIR}/exa_colors.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA} ${WRKSRC}/completions/completions.bash \
${DESTDIR}${PREFIX}/share/bash-completion/completions/exa
sysutils/exa: Updates to 0.10.0 Adds the manually generated man pages using pandoc(1). Changes since 0.9.0: exa release v0.10.0 Sorry about the delay, everyone. My aim is still to follow the Rust project itself, and make smaller releases more often. Gonna keep trying until I get there. There will be four new types of archive available from now on! An armv7 Linux build, a musl Linux build, an archive containing only the compiled man page and completions, and an archive containing the complete vendored source code. This version should be the last version without Windows support. Additions * The --time flag now defaults to modified without an argument (36cf5df) * Add options to hide table columns (925f517) * Add customisation settings to change the size colour scale (3ef6195) * Add flag for octal permissions (16046d5) * Add environment variable for icon spacing (51be9f4) * Add --numeric flag to display UIDs and GIDs (4ea79ee) Changes * Make single-digit hour times zero-padded (1bf9e39) * Include symlinks to directories when grouping directories first (69a7e53) * Do not sort command-line arguments when --sort=none (bbd6db3) * Warn when trying to use the Git feature when it’s disabled (a740512) * Sort the command-line arguments (a740512) * Allow absolute paths in $TZ environment variable (57cf0f1) * Escape the delete character in filenames (b5b7310) * Symlinks to directory now use the ‘directory’ icon (0a7ffcd) Fixes * Fix bug where icons weren’t displayed when file grid wraps (dd9dfff) * Fix bug where the wrong file timestamp was being used (215b779) * Fix crash on broken symlink in Git repository (a7a8e99) * Fix bug where long grid view didn’t turn into long view when piping (6010ed5) * Fix handling of potentially-unsupported time metadata. (a636d08) * Fix .gitignore parsing by using libgit2 instead of doing it ourselves. (046af5c) * Fix crash on encountering a pre-Unix-epoch timestamp. (bc830b9) * Fix display of August in timestamps. (3fe35b5) * Fix inverted space colour of icons when selecting them. (79bac41) * Fix extra column in long grid mode. (0f414cf) * Fix rounding of human-readable filesizes. (74ecf6d) Contributors Thanks to 0rvar, 0x3333, b05902132, BrennanMcDonald, de-vri-es, emgelb, FliegendeWurst, Freaky, imsofi, j-tai, LarsHaalck, mqudsi, msehnout, PatriotRossii, VichoReyes, whonore, and many others for contributing. Special thanks to ariasuni.
2021-04-07 13:38:11 +02:00
${INSTALL_DATA} ${WRKSRC}/completions/completions.fish \
${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/exa.fish
sysutils/exa: Updates to 0.10.0 Adds the manually generated man pages using pandoc(1). Changes since 0.9.0: exa release v0.10.0 Sorry about the delay, everyone. My aim is still to follow the Rust project itself, and make smaller releases more often. Gonna keep trying until I get there. There will be four new types of archive available from now on! An armv7 Linux build, a musl Linux build, an archive containing only the compiled man page and completions, and an archive containing the complete vendored source code. This version should be the last version without Windows support. Additions * The --time flag now defaults to modified without an argument (36cf5df) * Add options to hide table columns (925f517) * Add customisation settings to change the size colour scale (3ef6195) * Add flag for octal permissions (16046d5) * Add environment variable for icon spacing (51be9f4) * Add --numeric flag to display UIDs and GIDs (4ea79ee) Changes * Make single-digit hour times zero-padded (1bf9e39) * Include symlinks to directories when grouping directories first (69a7e53) * Do not sort command-line arguments when --sort=none (bbd6db3) * Warn when trying to use the Git feature when it’s disabled (a740512) * Sort the command-line arguments (a740512) * Allow absolute paths in $TZ environment variable (57cf0f1) * Escape the delete character in filenames (b5b7310) * Symlinks to directory now use the ‘directory’ icon (0a7ffcd) Fixes * Fix bug where icons weren’t displayed when file grid wraps (dd9dfff) * Fix bug where the wrong file timestamp was being used (215b779) * Fix crash on broken symlink in Git repository (a7a8e99) * Fix bug where long grid view didn’t turn into long view when piping (6010ed5) * Fix handling of potentially-unsupported time metadata. (a636d08) * Fix .gitignore parsing by using libgit2 instead of doing it ourselves. (046af5c) * Fix crash on encountering a pre-Unix-epoch timestamp. (bc830b9) * Fix display of August in timestamps. (3fe35b5) * Fix inverted space colour of icons when selecting them. (79bac41) * Fix extra column in long grid mode. (0f414cf) * Fix rounding of human-readable filesizes. (74ecf6d) Contributors Thanks to 0rvar, 0x3333, b05902132, BrennanMcDonald, de-vri-es, emgelb, FliegendeWurst, Freaky, imsofi, j-tai, LarsHaalck, mqudsi, msehnout, PatriotRossii, VichoReyes, whonore, and many others for contributing. Special thanks to ariasuni.
2021-04-07 13:38:11 +02:00
${INSTALL_DATA} ${WRKSRC}/completions/completions.zsh \
${DESTDIR}${PREFIX}/share/zsh/site-functions/_exa
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"