git: 32d78fc41af0 - main - sysutils/opendircolors: add new port

Jan Beich jbeich at FreeBSD.org
Sat May 1 11:47:39 UTC 2021


The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32d78fc41af010a8318ba9e592043db8ff412eac

commit 32d78fc41af010a8318ba9e592043db8ff412eac
Author:     Cameron Katri <me at cameronkatri.com>
AuthorDate: 2021-04-30 19:40:19 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-05-01 11:46:10 +0000

    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
---
 misc/gnuls/Makefile              |  2 ++
 sysutils/Makefile                |  1 +
 sysutils/opendircolors/Makefile  | 20 ++++++++++++++++++++
 sysutils/opendircolors/distinfo  |  3 +++
 sysutils/opendircolors/pkg-descr |  4 ++++
 sysutils/opendircolors/pkg-plist |  6 ++++++
 6 files changed, 36 insertions(+)

diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile
index 99cc7bfe4d3b..b7ff8912139b 100644
--- a/misc/gnuls/Makefile
+++ b/misc/gnuls/Makefile
@@ -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
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 40632e7eb93d..f443c08efbcc 100644
--- 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
index 000000000000..8fefc5fc2ee0
--- /dev/null
+++ b/sysutils/opendircolors/Makefile
@@ -0,0 +1,20 @@
+# Created by: Cameron Katri <me at cameronkatri.com>
+
+PORTNAME=	opendircolors
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.2
+CATEGORIES=	sysutils
+
+MAINTAINER=	me at 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>
diff --git a/sysutils/opendircolors/distinfo b/sysutils/opendircolors/distinfo
new file mode 100644
index 000000000000..137216c2c94b
--- /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
index 000000000000..e8b854ca49b7
--- /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
index 000000000000..05774a72c095
--- /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


More information about the dev-commits-ports-all mailing list