Date: Thu, 16 Mar 2023 05:41:27 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 13681d540b54 - main - editors/uhex: new port had been added (+) Message-ID: <202303160541.32G5fRKW033890@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=13681d540b540fb1b42723a23240bb5cb510e92e commit 13681d540b540fb1b42723a23240bb5cb510e92e Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2023-03-16 05:40:54 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2023-03-16 05:40:54 +0000 editors/uhex: new port had been added (+) uHex is small and fast multiplatform hexadecimal editor with support for large files (up to 2 GB) while using minimal amounts of memory. WWW: https://uhex.sourceforge.net/ --- editors/Makefile | 1 + editors/uhex/Makefile | 22 ++++++++++++++++++++++ editors/uhex/distinfo | 3 +++ editors/uhex/pkg-descr | 2 ++ 4 files changed, 28 insertions(+) diff --git a/editors/Makefile b/editors/Makefile index 621b355ef608..706cd74845f8 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -275,6 +275,7 @@ SUBDIR += turbo SUBDIR += tweak SUBDIR += uemacs + SUBDIR += uhex SUBDIR += uzap SUBDIR += ved SUBDIR += vigor diff --git a/editors/uhex/Makefile b/editors/uhex/Makefile new file mode 100644 index 000000000000..babb845817cd --- /dev/null +++ b/editors/uhex/Makefile @@ -0,0 +1,22 @@ +PORTNAME= uhex +PORTVERSION= 1.0.4 +CATEGORIES= editors +MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION} + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Simple and fast console hexadecimal editor +WWW= https://uhex.sourceforge.net/ + +LICENSE= BSD2CLAUSE + +PLIST_FILES= bin/${PORTNAME} + +do-build: + cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DSWITCHCHAR=\'-\' \ + -DSWITCHSTR=\"-\" file.c io-curse.c uhex.c \ + -o ${PORTNAME} -lncurses + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/editors/uhex/distinfo b/editors/uhex/distinfo new file mode 100644 index 000000000000..b367009c6efa --- /dev/null +++ b/editors/uhex/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1440635339 +SHA256 (uhex-1.0.4.tar.gz) = 360d34ed58b2df95973e0f1de1a0d467eb2195e88344d38f56b75385c863f7fa +SIZE (uhex-1.0.4.tar.gz) = 17001 diff --git a/editors/uhex/pkg-descr b/editors/uhex/pkg-descr new file mode 100644 index 000000000000..746a766a1e07 --- /dev/null +++ b/editors/uhex/pkg-descr @@ -0,0 +1,2 @@ +uHex is small and fast multiplatform hexadecimal editor with support +for large files (up to 2 GB) while using minimal amounts of memory.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303160541.32G5fRKW033890>