diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-08-24 11:58:04 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-08-24 11:58:04 +0000 |
commit | 432258195f4ff96905b564ac7200d813f368d285 (patch) | |
tree | 524b461e5b8fa77be6264ced08123a97f771515a /editors/hexedit | |
parent | 2623d860ad3164f67194577c932677ed43b18c60 (diff) | |
download | pkgsrc-432258195f4ff96905b564ac7200d813f368d285.tar.gz |
Initial addition of hexedit-0.9.4, to view and edit files in hexadecimal
or ASCII.
Diffstat (limited to 'editors/hexedit')
-rw-r--r-- | editors/hexedit/Makefile | 25 | ||||
-rw-r--r-- | editors/hexedit/files/md5 | 3 | ||||
-rw-r--r-- | editors/hexedit/patches/patch-aa | 24 | ||||
-rw-r--r-- | editors/hexedit/patches/patch-ab | 13 | ||||
-rw-r--r-- | editors/hexedit/pkg/COMMENT | 1 | ||||
-rw-r--r-- | editors/hexedit/pkg/DESCR | 6 | ||||
-rw-r--r-- | editors/hexedit/pkg/PLIST | 7 |
7 files changed, 79 insertions, 0 deletions
diff --git a/editors/hexedit/Makefile b/editors/hexedit/Makefile new file mode 100644 index 00000000000..6b912e40238 --- /dev/null +++ b/editors/hexedit/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 1998/08/24 11:58:04 frueauf Exp $ +# + +DISTNAME= hexedit-0.9.4 +WRKSRC= ${WRKDIR}/hexedit +CATEGORIES= editors +MASTER_SITES= http://www.chez.com/prigaux/ +EXTRACT_SUFX= .src.tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.chez.com/prigaux/hexedit.html + +DEPENDS+= ncurses-1.9.9g:../../devel/ncurses + +ALL_TARGET= # empty + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${PREFIX}/man/man1 + ${MKDIR} ${PREFIX}/share/doc/hexedit +.for file in COPYING Changes TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/hexedit +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/editors/hexedit/files/md5 b/editors/hexedit/files/md5 new file mode 100644 index 00000000000..c198d691809 --- /dev/null +++ b/editors/hexedit/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 1998/08/24 11:58:04 frueauf Exp $ + +MD5 (hexedit-0.9.4.src.tgz) = 096b3e0aa40a0ac8286cc4fb36c2977a diff --git a/editors/hexedit/patches/patch-aa b/editors/hexedit/patches/patch-aa new file mode 100644 index 00000000000..8defbb4c72d --- /dev/null +++ b/editors/hexedit/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1 1998/08/24 11:58:05 frueauf Exp $ + +--- Makefile.orig Fri Aug 7 17:09:38 1998 ++++ Makefile Mon Aug 24 13:01:04 1998 +@@ -2,7 +2,7 @@ + VERSION = 0.9.4 + + # Define BASENAME if your libc doesn't have it +-#BASENAME=-DBASENAME ++BASENAME=-DBASENAME + + CC=gcc + TARSOURCE = $(PROJECT)-$(VERSION).src.tgz +@@ -11,8 +11,8 @@ + HTMLFILES = $(PROJECT).html + TMPFILES = $(DYNAMICBIN) $(TARSOURCE) $(HTMLFILES) + +-CFLAGS = -Wall -O2 $(BASENAME) +-LOADLIBES = -lcurses #-lccmalloc -ldl ++CFLAGS = -Wall -O2 $(BASENAME) -I${PREFIX}/include -L${PREFIX}/lib -lncurses ++LOADLIBES = -lncurses #-lccmalloc -ldl + + .PHONY: clean tgz docs + diff --git a/editors/hexedit/patches/patch-ab b/editors/hexedit/patches/patch-ab new file mode 100644 index 00000000000..7d8df7c0fe9 --- /dev/null +++ b/editors/hexedit/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 1998/08/24 11:58:05 frueauf Exp $ + +--- hexedit.c-orig Fri Aug 7 18:20:04 1998 ++++ hexedit.c Mon Aug 24 12:53:26 1998 +@@ -21,7 +21,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <unistd.h> +-#include <curses.h> ++#include <ncurses.h> + #include <ctype.h> + #include <signal.h> + #include <sys/wait.h> diff --git a/editors/hexedit/pkg/COMMENT b/editors/hexedit/pkg/COMMENT new file mode 100644 index 00000000000..f7f59cd60c7 --- /dev/null +++ b/editors/hexedit/pkg/COMMENT @@ -0,0 +1 @@ +to view and edit files in hexadecimal or ASCII. diff --git a/editors/hexedit/pkg/DESCR b/editors/hexedit/pkg/DESCR new file mode 100644 index 00000000000..0a2534c1881 --- /dev/null +++ b/editors/hexedit/pkg/DESCR @@ -0,0 +1,6 @@ +Hexedit view and edit files in hexadecimal or in ASCII. +hexedit shows a file both in ASCII and in hexadecimal. +The file can be a device as the file is not whole read. +You can modify the file and search through it. +You have also copy&paste, and save to file functions. +Modifications are shown in bold. diff --git a/editors/hexedit/pkg/PLIST b/editors/hexedit/pkg/PLIST new file mode 100644 index 00000000000..55df4974fb4 --- /dev/null +++ b/editors/hexedit/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 1998/08/24 11:58:06 frueauf Exp $ +bin/hexedit +man/man1/hexedit.1 +share/doc/hexedit/COPYING +share/doc/hexedit/Changes +share/doc/hexedit/TODO +@dirrm share/doc/hexedit |