summaryrefslogtreecommitdiffstats
path: root/editors/lfhex
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-06 02:54:38 +0000
committerijliao <ijliao@FreeBSD.org>2001-07-06 02:54:38 +0000
commit49c52312315e99fa40583ac9602681aa9a761377 (patch)
treee76c6d16c2d56c2d6a76033f692fe03be7de93ad /editors/lfhex
parent1ffdca30a5f70242d106612b66ab9acbdf9bc871 (diff)
downloadFreeBSD-ports-49c52312315e99fa40583ac9602681aa9a761377.zip
FreeBSD-ports-49c52312315e99fa40583ac9602681aa9a761377.tar.gz
add lfhex
Large file hex editor
Diffstat (limited to 'editors/lfhex')
-rw-r--r--editors/lfhex/Makefile27
-rw-r--r--editors/lfhex/distinfo1
-rw-r--r--editors/lfhex/files/patch-src::Makefile.in16
-rw-r--r--editors/lfhex/files/patch-src::reader.cpp11
-rw-r--r--editors/lfhex/pkg-comment1
-rw-r--r--editors/lfhex/pkg-descr17
-rw-r--r--editors/lfhex/pkg-plist1
7 files changed, 74 insertions, 0 deletions
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile
new file mode 100644
index 0000000..4526c24
--- /dev/null
+++ b/editors/lfhex/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# New ports collection makefile for: lfhex
+# Date created: Jul 6, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= lfhex
+PORTVERSION= 0.3
+CATEGORIES= editors
+MASTER_SITES= ftp://typedef.dnsalias.org/pub/lfhex/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+USE_QT_VER= 2
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-qt-moc=${MOC}
+USE_GMAKE= yes
+
+post-patch:
+ @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
+ s,%%X11BASE%%,${X11BASE},g" ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/editors/lfhex/distinfo b/editors/lfhex/distinfo
new file mode 100644
index 0000000..3f03960
--- /dev/null
+++ b/editors/lfhex/distinfo
@@ -0,0 +1 @@
+MD5 (lfhex-0.3.tar.gz) = b266f674894cd129c43982557634eb85
diff --git a/editors/lfhex/files/patch-src::Makefile.in b/editors/lfhex/files/patch-src::Makefile.in
new file mode 100644
index 0000000..67e7a37
--- /dev/null
+++ b/editors/lfhex/files/patch-src::Makefile.in
@@ -0,0 +1,16 @@
+--- src/Makefile.in.orig Wed Jul 4 10:27:43 2001
++++ src/Makefile.in Fri Jul 6 10:34:56 2001
+@@ -16,10 +16,10 @@
+ endif
+
+ CXXFLAGS = @CXXFLAGS@
+-INCLUDE_DIRS = $(QTDIR)/include
++INCLUDE_DIRS = %%X11BASE%%/include/qt2 %%LOCALBASE%%/include
+ IFLAGS = $(addprefix -I,$(INCLUDE_DIRS))
+-LIBRARIES = qt Xext X11 m
+-LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib
++LIBRARIES = qt2 Xext X11 m gnugetopt
++LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib %%LOCALBASE%%/lib
+ LFLAGS = $(addprefix -L,$(LIB_DIRS)) $(addprefix -l,$(LIBRARIES))
+
+ CXX_SRC = $(wildcard *.cpp)
diff --git a/editors/lfhex/files/patch-src::reader.cpp b/editors/lfhex/files/patch-src::reader.cpp
new file mode 100644
index 0000000..c33bcdb
--- /dev/null
+++ b/editors/lfhex/files/patch-src::reader.cpp
@@ -0,0 +1,11 @@
+--- src/reader.cpp.orig Fri Jul 6 10:40:46 2001
++++ src/reader.cpp Fri Jul 6 10:40:58 2001
+@@ -283,7 +283,7 @@
+ #ifdef __GNUC__
+ ostream& operator<< (ostream&out, const ReadBuffer& buff)
+ {
+- ios_base::fmtflags old_flags = out.flags();
++ ios::fmtflags old_flags = out.flags();
+ out.flags(old_flags | ios::hex | ios::showbase);
+ for(size_t i = 0; i < buff.size(); i++)
+ out << buff[i];
diff --git a/editors/lfhex/pkg-comment b/editors/lfhex/pkg-comment
new file mode 100644
index 0000000..74828a5
--- /dev/null
+++ b/editors/lfhex/pkg-comment
@@ -0,0 +1 @@
+Large file hex editor
diff --git a/editors/lfhex/pkg-descr b/editors/lfhex/pkg-descr
new file mode 100644
index 0000000..8ef62c3
--- /dev/null
+++ b/editors/lfhex/pkg-descr
@@ -0,0 +1,17 @@
+Lfhex - Large file hex editor.
+
+Features:
+ - Low memory usage with respect to filesize. Opening a 2gig file requires
+ only ~1.4megs of additional memory.
+ - Fast load times.
+ - Fast save times.
+ - Infinite undo/redo.
+ - Conversion dialog
+ - Search function.
+ - Shows modified regions in alternate color.
+ - Scalable working area. Resize can use as much screen as you give it.
+ - Multiple editing modes (can switch on the fly)
+ - Runtime configurable bytes per column.
+ - binary comparison user interface
+
+WWW: http://typedef.dnsalias.org/
diff --git a/editors/lfhex/pkg-plist b/editors/lfhex/pkg-plist
new file mode 100644
index 0000000..f468d57
--- /dev/null
+++ b/editors/lfhex/pkg-plist
@@ -0,0 +1 @@
+bin/lfhex
OpenPOWER on IntegriCloud