(remove 'new' in DESCR, use BSD_INSTALL_PROGRAM so that -s is passed where needed). lr is a tool for generating file listings, which includes the best features of ls(1), find(1), stat(1) and du(1). Benefits over find: * friendly and logical C-style filter syntax * getopt is used, can mix filters and arguments in any order * can sort * compute directory sizes * can strip leading ./ * can do breadth first search Benefits over ls: * sorts over all files, not per directory * copy & paste file names from the output since they are relative to pwd * ISO dates * powerful filters
25 lines
441 B
Makefile
25 lines
441 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2020/05/24 20:03:35 sthen Exp $
|
|
|
|
COMMENT = list files, recursively
|
|
DISTNAME = lr-1.5.1
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://git.vuxu.org/lr/about/
|
|
|
|
MAINTAINER = Evan Silberman <evan@jklol.net>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES = https://git.vuxu.org/lr/snapshot/
|
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
FAKE_FLAGS = MANDIR="${PREFIX}/man"
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|