lr is a tool for generating file listings, which includes the best

features of ls(1), find(1), stat(1) and du(1).

WWW: https://github.com/chneukirchen/lr/

PR:		211324
Submitted by:	Tobias Kortkamp <t@tobik.me>
This commit is contained in:
Pawel Pekala 2016-07-31 19:10:54 +00:00
parent f69b27d121
commit 4de274dbef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419407
5 changed files with 78 additions and 0 deletions

View File

@ -536,6 +536,7 @@
SUBDIR += logtool
SUBDIR += logwatch
SUBDIR += lookat
SUBDIR += lr
SUBDIR += lsof
SUBDIR += ltrace
SUBDIR += luckybackup

62
sysutils/lr/Makefile Normal file
View File

@ -0,0 +1,62 @@
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= lr
PORTVERSION= 0.3.2
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
PKGNAMESUFFIX= files
MAINTAINER= t@tobik.me
COMMENT= List files, recursively
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= chneukirchen
CONFLICTS_INSTALL= lr-[0-9]*
MAKE_ARGS= CFLAGS="${CFLAGS}" \
MANDIR="${PREFIX}/man"
OPTIONS_DEFINE= CONTRIB EMACS NEOVIM VIM
OPTIONS_DEFAULT= CONTRIB EMACS NEOVIM VIM
CONTRIB_DESC= Contrib scripts
EMACS_DESC= Emacs plugin
NEOVIM_DESC= Neovim plugin
VIM_DESC= Vim plugin
OPTIONS_SUB= yes
EMACS_USE= emacs=yes
EMACS_NO_BUILD_DEPENDS= yes
EMACS_NO_RUN_DEPENDS= yes
CONTRIB_RUN_DEPENDS= xe:sysutils/xe
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lr
post-install-CONTRIB-on:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/lrls \
${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/contrib/lrocate \
${STAGEDIR}${PREFIX}/bin
post-install-EMACS-on:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/lr.el \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/lr.el
post-install-VIM-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles/plugin
${INSTALL_DATA} ${WRKSRC}/contrib/lr.vim \
${STAGEDIR}${PREFIX}/share/vim/vimfiles/plugin/
post-install-NEOVIM-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/nvim/runtime/plugin
${INSTALL_DATA} ${WRKSRC}/contrib/lr.vim \
${STAGEDIR}${PREFIX}/share/nvim/runtime/plugin/
.include <bsd.port.mk>

3
sysutils/lr/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1469325840
SHA256 (chneukirchen-lr-v0.3.2_GH0.tar.gz) = c4fb7183c0068708cb57078a83ea3ec254cbebeedcd87650dc39a077aaa88599
SIZE (chneukirchen-lr-v0.3.2_GH0.tar.gz) = 31222

4
sysutils/lr/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
lr is a tool for generating file listings, which includes the best
features of ls(1), find(1), stat(1) and du(1).
WWW: https://github.com/chneukirchen/lr/

8
sysutils/lr/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
bin/lr
%%CONTRIB%%bin/lrls
%%CONTRIB%%bin/lrocate
man/man1/lr.1.gz
%%EMACS%%%%EMACS_SITE_LISPDIR%%/lr.el
%%NEOVIM%%share/nvim/runtime/plugin/lr.vim
%%VIM%%share/vim/vimfiles/plugin/lr.vim
share/zsh/site-functions/_lr