Portfile

# $Id: Portfile 22504 2007-03-03 08:24:58Z pipping@macports.org $

PortSystem 1.0

name unrar
version 3.7.4
categories archivers
platforms darwin freebsd
maintainers max@kruschwitz.biz

description Extract, view & test RAR archives
long_description The unRAR utility is a minor part of the RAR archiver and \
contains RAR uncompression algorithm. unRAR requires very \
small volume of memory to operate.
homepage http://www.rarlab.com/

master_sites http://www.rarlab.com/rar/
distname ${name}src-${version}
checksums md5 7334c345597f6699c53fd91866b1a7e1 \
sha1 df5079afb65fbb2a51f0cde990430daac0bb0d79 \
rmd160 481a41bf83c992e8f96fbca2660a8ec406e974f9

worksrcdir ${name}

use_configure no

build.args -f makefile.unix

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 ${worksrcpath}/${name} ${destroot}/${prefix}/bin
xinstall -m 644 ${worksrcpath}/license.txt \
${destroot}${prefix}/share/doc/${name}
}