diff options
-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. |