summaryrefslogtreecommitdiff
path: root/editors/hexedit
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-08-24 11:58:04 +0000
committerfrueauf <frueauf>1998-08-24 11:58:04 +0000
commit9b21eb523b6523f8043f10e99340767b7a8cc175 (patch)
tree524b461e5b8fa77be6264ced08123a97f771515a /editors/hexedit
parent93cd9007d6bfaab7cedd7c47aa569a6da6d82f4c (diff)
downloadpkgsrc-9b21eb523b6523f8043f10e99340767b7a8cc175.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/Makefile25
-rw-r--r--editors/hexedit/files/md53
-rw-r--r--editors/hexedit/patches/patch-aa24
-rw-r--r--editors/hexedit/patches/patch-ab13
-rw-r--r--editors/hexedit/pkg/COMMENT1
-rw-r--r--editors/hexedit/pkg/DESCR6
-rw-r--r--editors/hexedit/pkg/PLIST7
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