pkgsrc/sysutils/broot/Makefile
pin 67adde349a sysutils/broot: update to 1.14.1
v1.14.1 - 2022-07-06

-Due to a technical problem, background color based skin selection is disabled
 on non linux systems.
2022-07-06 18:59:33 +00:00

34 lines
998 B
Makefile

# $NetBSD: Makefile,v 1.51 2022/07/06 18:59:33 pin Exp $
DISTNAME= broot-1.14.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"