diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2023-03-16 05:40:54 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2023-03-16 05:40:54 +0000 |
commit | 13681d540b540fb1b42723a23240bb5cb510e92e (patch) | |
tree | eccfe298c6d0f53e3074965722e2e6146a04c4bc | |
parent | d9bec590ba8d51be6c8597afea950b30cdf65d70 (diff) | |
download | freebsd-ports-13681d540b540fb1b42723a23240bb5cb510e92e.zip |
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/
-rw-r--r-- | editors/Makefile | 1 | ||||
-rw-r--r-- | editors/uhex/Makefile | 22 | ||||
-rw-r--r-- | editors/uhex/distinfo | 3 | ||||
-rw-r--r-- | editors/uhex/pkg-descr | 2 |
4 files changed, 28 insertions, 0 deletions
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. |