git: 397340f68ccf - main - textproc/hexcode: New port

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Thu, 15 Sep 2022 02:40:50 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=397340f68ccfac7a74200b04848ac4ce944f08d8

commit 397340f68ccfac7a74200b04848ac4ce944f08d8
Author:     Lady Serena Kitty <jlhawkwell@ladyserenakitty.com>
AuthorDate: 2022-09-15 02:37:49 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-09-15 02:40:38 +0000

    textproc/hexcode: New port
    
    Differential Revision:  https://reviews.freebsd.org/D36589
---
 textproc/Makefile          |  1 +
 textproc/hexcode/Makefile  | 20 ++++++++++++++++++++
 textproc/hexcode/distinfo  |  3 +++
 textproc/hexcode/pkg-descr |  1 +
 textproc/hexcode/pkg-plist |  4 ++++
 5 files changed, 29 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index c701878e8218..978e0f8681d4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -256,6 +256,7 @@
     SUBDIR += halibut
     SUBDIR += heirloom-doctools
     SUBDIR += hevea
+    SUBDIR += hexcode
     SUBDIR += hhm
     SUBDIR += hi-aspell
     SUBDIR += highlight
diff --git a/textproc/hexcode/Makefile b/textproc/hexcode/Makefile
new file mode 100644
index 000000000000..f8eb2db56d7e
--- /dev/null
+++ b/textproc/hexcode/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	hexcode
+DISTVERSION=	1.0
+CATEGORIES=	textproc
+MASTER_SITES=	https://gitlab.com/LadySerenaKitty
+
+MAINTAINER=	jlhawkwell@ladyserenakitty.com
+COMMENT=	Easily convert between hex and data.
+WWW=		https://gitlab.com/LadySerenaKitty/hexcode
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+
+USE_GITLAB=	yes
+GL_ACCOUNT=	LadySerenaKitty
+GL_PROJECT=	${PORTNAME}
+GL_COMMIT=	28014ba87c67b7d352c131a7a985b8188506a2ed
+
+.include <bsd.port.mk>
diff --git a/textproc/hexcode/distinfo b/textproc/hexcode/distinfo
new file mode 100644
index 000000000000..cfd584277d40
--- /dev/null
+++ b/textproc/hexcode/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663207221
+SHA256 (LadySerenaKitty-hexcode-28014ba87c67b7d352c131a7a985b8188506a2ed_GL0.tar.gz) = f1e73e3cb8e098b067b780906ad2d5d01e490944c8c8d059e68c6b6ec3d199c5
+SIZE (LadySerenaKitty-hexcode-28014ba87c67b7d352c131a7a985b8188506a2ed_GL0.tar.gz) = 2805
diff --git a/textproc/hexcode/pkg-descr b/textproc/hexcode/pkg-descr
new file mode 100644
index 000000000000..d60281264b1f
--- /dev/null
+++ b/textproc/hexcode/pkg-descr
@@ -0,0 +1 @@
+Hexcode allows easy conversion of data to hexidecimal representation and back.
diff --git a/textproc/hexcode/pkg-plist b/textproc/hexcode/pkg-plist
new file mode 100644
index 000000000000..f8e4702fade2
--- /dev/null
+++ b/textproc/hexcode/pkg-plist
@@ -0,0 +1,4 @@
+bin/dehex
+bin/enhex
+include/hexcode.h
+lib/libhexcode.so