summaryrefslogtreecommitdiff
path: root/editors/heme
diff options
context:
space:
mode:
Diffstat (limited to 'editors/heme')
-rw-r--r--editors/heme/DESCR11
-rw-r--r--editors/heme/Makefile26
-rw-r--r--editors/heme/PLIST3
-rw-r--r--editors/heme/distinfo6
-rw-r--r--editors/heme/patches/patch-aa13
5 files changed, 59 insertions, 0 deletions
diff --git a/editors/heme/DESCR b/editors/heme/DESCR
new file mode 100644
index 00000000000..1097eb3b3ac
--- /dev/null
+++ b/editors/heme/DESCR
@@ -0,0 +1,11 @@
+Heme is a fast and portable console hex editor for unix systems. It
+has undo support (number of undo operations is only limited by
+available memory), ability to fill a range of addresses with the
+specified byte, ability to search for a single byte or character
+string.
+
+Offsets can be given in hexadecimal, octal or decimal. There are two
+editing modes: hex and ascii. In hex mode you type hexadecimal digits
+and in ascii mode you type characters. In the ascii mode cursor is
+automatically moved to the next byte after typing a character (this
+behaviour is configurable for hex mode).
diff --git a/editors/heme/Makefile b/editors/heme/Makefile
new file mode 100644
index 00000000000..2e4e1312988
--- /dev/null
+++ b/editors/heme/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/01 05:57:30 minskim Exp $
+#
+
+DISTNAME= heme-0.4
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=heme/}
+
+MAINTAINER= pancake@phreaker.net
+HOMEPAGE= http://keihanna.dl.sourceforge.net/sourceforge/heme/
+COMMENT= Fast and portable console hex editor
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+BUILD_TARGET= heme
+USE_NCURSES= # mvwchgat
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS= bin man/man1
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/heme ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/heme.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/heme/PLIST b/editors/heme/PLIST
new file mode 100644
index 00000000000..7b9f21cb787
--- /dev/null
+++ b/editors/heme/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/01 05:57:30 minskim Exp $
+bin/heme
+man/man1/heme.1
diff --git a/editors/heme/distinfo b/editors/heme/distinfo
new file mode 100644
index 00000000000..f9517499a00
--- /dev/null
+++ b/editors/heme/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/01 05:57:30 minskim Exp $
+
+SHA1 (heme-0.4.tar.gz) = ae7727f9861e0ac36eeac7ddccb62739468f1251
+RMD160 (heme-0.4.tar.gz) = 478f527f8e4968968d0d055fddc1cdb98b632a8e
+Size (heme-0.4.tar.gz) = 21370 bytes
+SHA1 (patch-aa) = d64d01c8f3505b75dfa54f2291b63055b5a17e91
diff --git a/editors/heme/patches/patch-aa b/editors/heme/patches/patch-aa
new file mode 100644
index 00000000000..57882cca996
--- /dev/null
+++ b/editors/heme/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/01 05:57:30 minskim Exp $
+
+--- Makefile.orig 2005-03-06 10:52:31.000000000 -0800
++++ Makefile
+@@ -1,6 +1,6 @@
+ INSTALL_PREFIX = /usr/local
+-CFLAGS = -Wall -DHAVE_MMAP # remove -DHAVE_MMAP if you don't have mmap
+-LDFLAGS = -lcurses
++CFLAGS+= -Wall -DHAVE_MMAP # remove -DHAVE_MMAP if you don't have mmap
++LDFLAGS+= -lncurses
+ OBJECTS = heme.o xmalloc.o error.o pconfig.o pgetopt.o
+ TARGET = heme
+