diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/lr/Makefile | 62 | ||||
-rw-r--r-- | sysutils/lr/distinfo | 3 | ||||
-rw-r--r-- | sysutils/lr/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/lr/pkg-plist | 8 |
5 files changed, 78 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 7ee3fe6fa971..36d49aad090f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -536,6 +536,7 @@ SUBDIR += logtool SUBDIR += logwatch SUBDIR += lookat + SUBDIR += lr SUBDIR += lsof SUBDIR += ltrace SUBDIR += luckybackup diff --git a/sysutils/lr/Makefile b/sysutils/lr/Makefile new file mode 100644 index 000000000000..bbb7c263c30a --- /dev/null +++ b/sysutils/lr/Makefile @@ -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> diff --git a/sysutils/lr/distinfo b/sysutils/lr/distinfo new file mode 100644 index 000000000000..f854bc77e7a6 --- /dev/null +++ b/sysutils/lr/distinfo @@ -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 diff --git a/sysutils/lr/pkg-descr b/sysutils/lr/pkg-descr new file mode 100644 index 000000000000..50d246474af6 --- /dev/null +++ b/sysutils/lr/pkg-descr @@ -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/ diff --git a/sysutils/lr/pkg-plist b/sysutils/lr/pkg-plist new file mode 100644 index 000000000000..a7c8edde9d81 --- /dev/null +++ b/sysutils/lr/pkg-plist @@ -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 |