# $Id: Portfile,v 1.1 2004/08/13 14:36:23 olegb Exp $

PortSystem 1.0
name		lha
version		114i
categories	archivers sysutils
description	Utility for creating and opening lzh archives
maintainers	jc@crazic.ru
long_description ${description}
homepage	http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm
master_sites	http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
checksums	md5 5225884d557b91f04124693e2c5c9e94

use_configure	no

patchfiles	patch-Makefile

post-build	{
	system "strip ${build.dir}/src/$name"
}

destroot	{
	xinstall -m 755 -d ${destroot}/${prefix}/bin

	file copy ${build.dir}/src/$name ${destroot}/${prefix}/bin
}
