v1.11.1 -fix broot not being usable while an image is being opened by hitting enter on linux - Fix #530 v1.11.0 -sorting by type, with 3 new internals: :sort_by_type_dirs_first, :sort_by_type_dirs_last, and :sort_by_type. The last one lets you toggle between no sort, sorting by type with directories first, and sorting by type with directories last. - Fix #467 v1.10.0 -verb filtering on file extension - Fix #508 -don't quit on tiny terminals - Fix #511 -fix the capture_mouse config item which was described in documentation but not usable (the non documented disable_mouse_capture argument was working and is kept for compatibility)
34 lines
998 B
Makefile
34 lines
998 B
Makefile
# $NetBSD: Makefile,v 1.44 2022/04/15 16:16:16 pin Exp $
|
|
|
|
DISTNAME= broot-1.11.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Canop/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://dystroy.org/broot/
|
|
COMMENT= New way to see and navigate directory trees
|
|
LICENSE= mit
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_TOOLS+= pkg-config
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxcb}/lib
|
|
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libxcb}/lib
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/broot \
|
|
${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/page \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/broot.1
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../lang/python/tool.mk"
|
|
.include "../../x11/libxcb/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|