# $Id: Portfile,v 1.2 2005/10/19 08:10:03 blb Exp $

PortSystem			1.0
name				cabextract
version				1.1
categories			archivers compression sysutils
maintainers			blb@opendarwin.org
description			Extract files from Microsoft cabinet files
long_description \
	cabextract can extract Microsoft cabinet files, also called .CAB files, \
	on *nix systems.  cabextract supports all special features and all \
	compression formats of Microsoft cabinet files.

platforms			darwin

homepage			http://www.kyz.uklinux.net/cabextract.php
master_sites		http://www.kyz.uklinux.net/downloads/

checksums			md5 f4b729c0be7d288660f4fc167de199a1

patchfiles			patch-mempcpy.c

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

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
		README TODO ${destroot}${prefix}/share/doc/${name}
}

