aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-06 10:54:38 +0800
committerijliao <ijliao@FreeBSD.org>2001-07-06 10:54:38 +0800
commit49c52312315e99fa40583ac9602681aa9a761377 (patch)
treee76c6d16c2d56c2d6a76033f692fe03be7de93ad /editors
parent1ffdca30a5f70242d106612b66ab9acbdf9bc871 (diff)
downloadfreebsd-ports-gnome-49c52312315e99fa40583ac9602681aa9a761377.tar.gz
freebsd-ports-gnome-49c52312315e99fa40583ac9602681aa9a761377.tar.zst
freebsd-ports-gnome-49c52312315e99fa40583ac9602681aa9a761377.zip
add lfhex
Large file hex editor
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-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
8 files changed, 75 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 07146f266395..b55e9e0b2088 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -69,6 +69,7 @@
SUBDIR += le
SUBDIR += led
SUBDIR += leim20
+ SUBDIR += lfhex
SUBDIR += lpe
SUBDIR += manedit
SUBDIR += mg
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile
new file mode 100644
index 000000000000..4526c247c390
--- /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 000000000000..3f039608bdb3
--- /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 000000000000..67e7a37f5a0c
--- /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 000000000000..c33bcdb52238
--- /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 000000000000..74828a5794f1
--- /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 000000000000..8ef62c3164cc
--- /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 000000000000..f468d57ca55d
--- /dev/null
+++ b/editors/lfhex/pkg-plist
@@ -0,0 +1 @@
+bin/lfhex