From cf6c7928466ee1fb53cb09e23325abf414b3db02 Mon Sep 17 00:00:00 2001 From: Automaton Date: Mon, 10 Dec 2012 08:15:31 +0100 Subject: [PATCH] Import editors/hexcurse version 1.55 --- editors/hexcurse/Makefile | 23 +++++++++++++++++++++++ editors/hexcurse/distinfo | 2 ++ editors/hexcurse/files/patch-getopt.c | 11 +++++++++++ editors/hexcurse/pkg-descr | 6 ++++++ 4 files changed, 42 insertions(+) create mode 100644 editors/hexcurse/Makefile create mode 100644 editors/hexcurse/distinfo create mode 100644 editors/hexcurse/files/patch-getopt.c create mode 100644 editors/hexcurse/pkg-descr diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile new file mode 100644 index 00000000000..1ba7bca6de0 --- /dev/null +++ b/editors/hexcurse/Makefile @@ -0,0 +1,23 @@ +# ex:ts=8 +# New ports collection makefile for: hexcurse +# Date created: Jun 3, 2001 +# Whom: ijliao +# +# $FreeBSD: ports/editors/hexcurse/Makefile,v 1.19 2012/11/17 05:57:14 svnexp Exp $ +# + +PORTNAME= hexcurse +PORTVERSION= 1.55 +CATEGORIES= editors +MASTER_SITES= DEBIAN +DISTFILES= ${PORTNAME}_${PORTVERSION}.orig + +MAINTAINER= jadawin@FreeBSD.org +COMMENT= A versatile ncurses-based hex editor + +GNU_CONFIGURE= yes + +MAN1= hexcurse.1 +PLIST_FILES= bin/hexcurse + +.include diff --git a/editors/hexcurse/distinfo b/editors/hexcurse/distinfo new file mode 100644 index 00000000000..02b0c019b5c --- /dev/null +++ b/editors/hexcurse/distinfo @@ -0,0 +1,2 @@ +SHA256 (hexcurse_1.55.orig) = b8d589f80acfa590fddd60d9482cf6ba38b295bf785ae4e0aff37b5ab436cb16 +SIZE (hexcurse_1.55.orig) = 113512 diff --git a/editors/hexcurse/files/patch-getopt.c b/editors/hexcurse/files/patch-getopt.c new file mode 100644 index 00000000000..627eefbb997 --- /dev/null +++ b/editors/hexcurse/files/patch-getopt.c @@ -0,0 +1,11 @@ +--- src/getopt.c.orig Sun Jun 13 00:06:12 2004 ++++ src/getopt.c Sun Jun 13 00:07:48 2004 +@@ -36,8 +36,6 @@ + * enables hexcurse to be compiled with SGI's proprietary compiler */ + #ifdef _SGIAPI + #include +-#else +-char *alloca (); + #endif + #define __alloca alloca + /* end of modification */ diff --git a/editors/hexcurse/pkg-descr b/editors/hexcurse/pkg-descr new file mode 100644 index 00000000000..76caee63303 --- /dev/null +++ b/editors/hexcurse/pkg-descr @@ -0,0 +1,6 @@ +HexCurse is a versatile ncurses-based hex editor written in C that provides +the user with many features. It currently supports searching, hex, and decimal +address output, jumping to specified locations in a file, and quick keyboard +shortcuts to commands. + +WWW: http://jewfish.net/description.php?title=HexCurse -- 2.41.0