sysutils/opendircolors: add new port

A BSD-licensed replacement for GNU dircolors(1),
with support for FreeBSD's ls(1) using LSCOLORS.

https://github.com/CRKatri/opendircolors

Differential Revision:	https://reviews.freebsd.org/D30063
This commit is contained in:
Cameron Katri 2021-04-30 19:40:19 +00:00 committed by Jan Beich
parent 60955c0a09
commit 32d78fc41a
6 changed files with 36 additions and 0 deletions

View file

@ -18,6 +18,8 @@ CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
CONFLICTS_INSTALL= opendircolors # bin/dircolors
USES= gmake perl5 tar:xz
USE_LDCONFIG= yes
USE_PERL5= build

View file

@ -788,6 +788,7 @@
SUBDIR += opa
SUBDIR += open
SUBDIR += opencorsairlink
SUBDIR += opendircolors
SUBDIR += openipmi
SUBDIR += opensbi
SUBDIR += openseachest

View file

@ -0,0 +1,20 @@
# Created by: Cameron Katri <me@cameronkatri.com>
PORTNAME= opendircolors
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.2
CATEGORIES= sysutils
MAINTAINER= me@cameronkatri.com
COMMENT= BSD-licensed replacement for dircolors
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= CRKatri
CONFLICTS_INSTALL= gnuls # bin/dircolors
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1619811619
SHA256 (CRKatri-opendircolors-v0.0.2_GH0.tar.gz) = 12409855744afa7522506aebc2b0fac8cd43902b27e329ef641bd1ed7482e8c0
SIZE (CRKatri-opendircolors-v0.0.2_GH0.tar.gz) = 6406

View file

@ -0,0 +1,4 @@
A BSD-licensed replacement for GNU dircolors(1),
with support for FreeBSD's ls(1) using LSCOLORS.
WWW: https://github.com/CRKatri/opendircolors

View file

@ -0,0 +1,6 @@
bin/dircolors
bin/dirconvert
bin/opendircolors
man/man1/dircolors.1.gz
man/man1/dirconvert.1.gz
man/man1/opendircolors.1.gz