# $Id: Portfile,v 1.1 2005/10/25 14:39:55 mww Exp $

PortSystem 1.0

name			dzip
version			2.9
categories		archivers
platforms		darwin
maintainers		mww@opendarwin.org
description		file compression tool
long_description	Dzip is a program for file compression. It's advantage \
			over more popular compression software is in the size of the \
			program, easily fitting on a floppy disk. Dzip's original purpose \
			was to compress demo recordings of the id software game Quake.

homepage		http://speeddemosarchive.com/dzip/
master_sites	${homepage}
distname		dz29src
checksums		md5 b02d69c7c6ee491380d77f26c6f5a6e0
use_zip			yes

pre-extract {
	file mkdir ${worksrcpath}
}
extract.dir		${worksrcpath}

use_configure	no

build.target	dzip
build.args		-f Makefile.linux

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

platform darwin 8 {
	build.args-append	CC=/usr/bin/gcc-4.0
}
