diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile --- a/misc/gnuls/Makefile +++ b/misc/gnuls/Makefile @@ -18,6 +18,8 @@ CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +CONFLICTS_INSTALL= opendircolors # bin/dircolors + USES= gmake perl5 tar:xz USE_LDCONFIG= yes USE_PERL5= build diff --git a/sysutils/Makefile b/sysutils/Makefile --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -788,6 +788,7 @@ SUBDIR += opa SUBDIR += open SUBDIR += opencorsairlink + SUBDIR += opendircolors SUBDIR += openipmi SUBDIR += opensbi SUBDIR += openseachest diff --git a/sysutils/opendircolors/Makefile b/sysutils/opendircolors/Makefile new file mode 100644 --- /dev/null +++ b/sysutils/opendircolors/Makefile @@ -0,0 +1,20 @@ +# Created by: Cameron Katri + +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 diff --git a/sysutils/opendircolors/distinfo b/sysutils/opendircolors/distinfo new file mode 100644 --- /dev/null +++ b/sysutils/opendircolors/distinfo @@ -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 diff --git a/sysutils/opendircolors/pkg-descr b/sysutils/opendircolors/pkg-descr new file mode 100644 --- /dev/null +++ b/sysutils/opendircolors/pkg-descr @@ -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 diff --git a/sysutils/opendircolors/pkg-plist b/sysutils/opendircolors/pkg-plist new file mode 100644 --- /dev/null +++ b/sysutils/opendircolors/pkg-plist @@ -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