diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-07-06 02:54:38 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-07-06 02:54:38 +0000 |
commit | 132c9cdc22c7e3e42f546ba55d86cdaabccfd59c (patch) | |
tree | 06fe0d19d1558c9ea4c082021537c7c9e8da2a7a /editors/lfhex | |
parent | d8b5316d315aec91250610f422ec02f7b4feb292 (diff) | |
download | ports-132c9cdc22c7e3e42f546ba55d86cdaabccfd59c.tar.gz ports-132c9cdc22c7e3e42f546ba55d86cdaabccfd59c.zip |
add lfhex
Large file hex editor
Notes
Notes:
svn path=/head/; revision=44801
Diffstat (limited to 'editors/lfhex')
-rw-r--r-- | editors/lfhex/Makefile | 27 | ||||
-rw-r--r-- | editors/lfhex/distinfo | 1 | ||||
-rw-r--r-- | editors/lfhex/files/patch-src::Makefile.in | 16 | ||||
-rw-r--r-- | editors/lfhex/files/patch-src::reader.cpp | 11 | ||||
-rw-r--r-- | editors/lfhex/pkg-comment | 1 | ||||
-rw-r--r-- | editors/lfhex/pkg-descr | 17 | ||||
-rw-r--r-- | editors/lfhex/pkg-plist | 1 |
7 files changed, 74 insertions, 0 deletions
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 |