# $Id: Portfile,v 1.2 2006/02/14 08:52:20 mww Exp $

PortSystem 1.0

name			rzip
version			2.1
categories		archivers
platforms		darwin
maintainers		mww@opendarwin.org
description		Compression program similar to gzip or bzip2
long_description	rzip is a compression program, similar in functionality to \
			gzip or bzip2, but able to take advantage from long distance \
			redundancies in files, which can sometimes allow rzip to produce \
			much better compression ratios than other programs.

homepage		http://rzip.samba.org/
master_sites	http://rzip.samba.org/ftp/rzip/
checksums		sha1 efeafc7a5bdd7daa0cea8d797ff21aa28bdfc8d9
patchfiles		patch-Makefile.in

post-extract {
	file copy ${filespath}/strndup.c ${worksrcpath}
}

configure.args	--mandir=\\\${prefix}/share/man

destroot.destdir	prefix=${destroot}${prefix}

platform darwin 8 {
	configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}

