[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / tre-command

File: [cvs.NetBSD.org] / pkgsrc / sysutils / tre-command / Makefile (download)

Revision 1.1, Wed Mar 31 20:20:55 2021 UTC (19 months, 4 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2

sysutils/tre-command: import package

A replacement for tree command that uses git ls-files as source of file when
possible.
tre can also create shell aliases that, when executed, opens the file
associated with it with the default editor.
Runs on Unix as well as Windows PowerShell.

# $NetBSD: Makefile,v 1.1 2021/03/31 20:20:55 pin Exp $

DISTNAME=	tre-command-0.3.6
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GITHUB:=dduan/}
GITHUB_PROJECT=	tre
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pin@NetBSD.org
HOMEPAGE=	https://github.com/dduan/tre/
COMMENT=	Tree command, improved
LICENSE=	mit

.include "cargo-depends.mk"

USE_LANGUAGES+=	c

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/tre ${DESTDIR}${PREFIX}/bin

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"