# $Id: Portfile 68545 2010-06-05 21:38:56Z blb@macports.org $

PortSystem			1.0

name				unshield
version				0.6
categories			archivers compression sysutils
platforms			darwin
maintainers			boeyms openmaintainer
description			Extract files from InstallShield cabinet files

long_description \
	Extract files from InstallShield-style cabinet files (usually named \
	data1.cab, data1.hdr, data2.cab, etc), versions 5 and later


homepage			http://synce.sourceforge.net/synce/unshield.php
master_sites		sourceforge:synce

depends_lib			port:zlib

checksums			md5     31a829192a255160d1f71cda4c865c9c \
					sha1    3e1197116145405f786709608a5a636a19f4f3e1 \
					rmd160  1370621e38736f14dab1ec540b9233906b5eaa31

patchfiles			patch-src_Makefile.in.diff

configure.args		--with-zlib=${prefix}

post-destroot {
	set docdir ${prefix}/share/doc/${name}-${version}
	xinstall -d ${destroot}${docdir}
	xinstall -m 644 -W ${worksrcpath} LICENSE README TODO \
		${destroot}${docdir}
}

livecheck.distname Unshield

