# $Id$

PortSystem 1.0

name		d52
epoch		1
version		3.4.1
categories	devel
platforms	darwin
maintainers	nomaintainer
description	Disassembler for a variety of microprocessors
long_description	\
		d52 is a set of disassemblers for the 8052, 8035,	\
		8048, 8041, Z80, 8080 and 8085 microcontrollers

homepage	http://www.8052.com/users/disasm/
master_sites	${homepage}

checksums	md5 55147203ba3bfe24ff7e7d2deec499e7

use_zip		yes
distname	${name}v[string map {"." ""} ${version}]

patchfiles	patch-common.c

use_configure	no

destroot	{ xinstall -m 755 -d ${destroot}${prefix}/bin
		  xinstall -m 755 -d ${destroot}${prefix}/share/${name}
		  xinstall -m 755 -W ${worksrcpath} d48 d52 dz80 ${destroot}${prefix}/bin/
		  xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/${name}
		}

livecheck.type		regex
livecheck.regex		{Download version ([0-9.]+)}