From f1a907c992311786b8f370251eabbd3585d3fed2 Mon Sep 17 00:00:00 2001 From: margarida Date: Sat, 17 May 2003 07:29:33 +0000 Subject: [PATCH] Initial import of ht-0.7.1 -- HT is a file editor/viewer/analyzer for executables. The goal is to combine the low-level functionality of a debugger and the usability of IDEs. Support includes the following file formats: * Win32 portable executables (PE) (good support) * Unix executable and linkable format (ELF) (good support) * DOS standard executables (MZ) (supported) * Win32 linear executables (LE) (supported) * Windows/OS2 "new" executables (NE) (supported) * Unix common object file format (COFF) + DJGPP COFF (supported) * OS2 linear executables (LX) * M$ object files (.obj) WWW: http://hte.sourceforge.net/ --- editors/ht/Makefile | 41 ++++++++++++++++++++++++++++++ editors/ht/distinfo | 3 +++ editors/ht/patches/patch-configure | 12 +++++++++ editors/ht/pkg/DESCR | 23 +++++++++++++++++ editors/ht/pkg/PLIST | 5 ++++ 5 files changed, 84 insertions(+) create mode 100644 editors/ht/Makefile create mode 100644 editors/ht/distinfo create mode 100644 editors/ht/patches/patch-configure create mode 100644 editors/ht/pkg/DESCR create mode 100644 editors/ht/pkg/PLIST diff --git a/editors/ht/Makefile b/editors/ht/Makefile new file mode 100644 index 00000000000..2caa8ee411c --- /dev/null +++ b/editors/ht/Makefile @@ -0,0 +1,41 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/05/17 07:29:33 margarida Exp $ + +COMMENT= "file editor/viewer/analyzer for executables" + +DISTNAME= ht-0.7.1 +CATEGORIES= editors + +HOMEPAGE= http:/hte.sourceforge.net/ + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hte/} + +MAINTAINER= Margarida Sequeira + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= gnu + +FLAVORS= no_x11 +FLAVOR?= + +.if ${FLAVOR:Mno_x11} +CONFIGURE_ARGS+= --disable-x11-textmode +.endif + +USE_X11= Yes +USE_GMAKE= Yes + +DOCS= README ht.html + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ht + cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} \ + ${PREFIX}/share/doc/ht + +NO_REGRESS= Yes + +.include diff --git a/editors/ht/distinfo b/editors/ht/distinfo new file mode 100644 index 00000000000..bbe67343681 --- /dev/null +++ b/editors/ht/distinfo @@ -0,0 +1,3 @@ +MD5 (ht-0.7.1.tar.gz) = 60b6a008fc820186f757265333727983 +RMD160 (ht-0.7.1.tar.gz) = a48d816699adc6aec69475a7e4589b42f930d1cd +SHA1 (ht-0.7.1.tar.gz) = ea4300e34f975b862751ed6f65c265835db8eb35 diff --git a/editors/ht/patches/patch-configure b/editors/ht/patches/patch-configure new file mode 100644 index 00000000000..254cb9177a9 --- /dev/null +++ b/editors/ht/patches/patch-configure @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2003/05/17 07:29:33 margarida Exp $ +--- configure.orig Sun Oct 20 08:26:56 2002 ++++ configure Fri May 16 19:11:02 2003 +@@ -1122,7 +1122,7 @@ fi; + if test "x$enable_release" = "xyes"; then + FLAGS_ALL="-O2 -fomit-frame-pointer -Wall -fsigned-char" + else +- FLAGS_ALL="-g -O0 -Wall -fsigned-char" ++ FLAGS_ALL="${CFLAGS} -fsigned-char" + fi + + if test "x$enable_profiling" = "xyes"; then diff --git a/editors/ht/pkg/DESCR b/editors/ht/pkg/DESCR new file mode 100644 index 00000000000..ff53b847369 --- /dev/null +++ b/editors/ht/pkg/DESCR @@ -0,0 +1,23 @@ +HT is a file editor/viewer/analyzer for executables. +The goal is to combine the low-level functionality of a debugger +and the usability of IDEs. + +- Supported formats +Support means that HT will be able to correctly display and modify +the executable header, image and other extensions specific to the +file (import/export sections, relocations, debugging information +etc.). +Support includes the following file formats: + +* Win32 portable executables (PE) (good support) +* Unix executable and linkable format (ELF) (good support) +* DOS standard executables (MZ) (supported) +* Win32 linear executables (LE) (supported) +* Windows/OS2 "new" executables (NE) (supported) +* Unix common object file format (COFF) + DJGPP COFF (supported) +* OS2 linear executables (LX) +* M$ object files (.obj) + +Suports 'copy', 'paste', histories, as well as 'undo'. + +WWW: ${HOMEPAGE} diff --git a/editors/ht/pkg/PLIST b/editors/ht/pkg/PLIST new file mode 100644 index 00000000000..dc614d32e53 --- /dev/null +++ b/editors/ht/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/17 07:29:33 margarida Exp $ +bin/ht +share/doc/ht/README +share/doc/ht/ht.html +@dirrm share/doc/ht