# $Id$

PortSystem 1.0

name		ht
version		2.1.0
categories	devel editors
license		GPL-2
maintainers	nomaintainer
description	HT is a file editor/viewer/analyzer for executables.
homepage	http://hte.sourceforge.net/
platforms	darwin

long_description 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.

master_sites	sourceforge:project/hte/ht-source

use_bzip2	yes
checksums	rmd160  665e20a70a4735acf2102521b49074f94a28fba6 \
		sha256  31f5e8e2ca7f85d40bb18ef518bf1a105a6f602918a0755bc649f3f407b75d70

depends_lib	port:ncurses port:lzo2 port:xorg-libX11

patchfiles	configure.patch
post-patch {
	file attributes ${worksrcpath}/install-sh -permissions +x
}

post-destroot {
	xinstall -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} COPYING README doc/ht.html \
	    ${destroot}${prefix}/share/doc/${name}
}