# $Id: Portfile,v 1.2 2005/04/04 10:57:38 toby Exp $

PortSystem 1.0
name		arc
version		5.21k
categories	archivers sysutils
description	create and extract files from dos .arc archives
maintainers	jc@crazic.ru
long_description ${description}
homepage	http://arc.sourceforge.net/
master_sites	sourceforge
checksums	md5 9197104dca17db3867a89e851c7cc3bb

use_configure	no

patchfiles	patch-Makefile patch-arcrun.c patch-marc.c

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

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

	file copy ${worksrcpath}/$name ${destroot}/${prefix}/bin
	file copy ${worksrcpath}/m$name ${destroot}/${prefix}/bin
	file copy ${worksrcpath}/$name.1 ${destroot}/${prefix}/share/man/man1
}
