5ee5d2b148
-Fixed rendering ANSI colors. -Default UI improvements. -Documented how to add luarocks support.
30 lines
834 B
Makefile
30 lines
834 B
Makefile
# $NetBSD: Makefile,v 1.45 2022/05/05 07:01:26 pin Exp $
|
|
|
|
DISTNAME= xplr-0.17.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=sayanarijit/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://xplr.dev/
|
|
COMMENT= Hackable, minimal, fast TUI file explorer
|
|
LICENSE= mit
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_TOOLS+= pkg-config bash:run
|
|
|
|
INSTALLATION_DIRS= bin share/examples/xplr
|
|
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.LuaJIT2}/lib
|
|
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.LuaJIT2}/lib
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/xplr \
|
|
${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/src/init.lua \
|
|
${DESTDIR}${PREFIX}/share/examples/xplr
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../lang/LuaJIT2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|