# $Id: Portfile,v 1.4 2005/04/19 11:51:21 toby Exp $

PortSystem       1.0
name             aget
version          0.4
categories       net
maintainers      toby@opendarwin.org
description      multithreaded HTTP download accelerator
long_description \
    Aget is a multithreaded HTTP download accelerator, \
    similar to the Win32 Project Flashget.
homepage         http://www.enderunix.org/aget/
platforms        darwin
master_sites     ${homepage}
checksums        md5 1d32390f5ea2ddd82dfbb1794cdfa92f

patchfiles       patch-Head.c

configure {
    reinplace "s| -pthread||" ${worksrcpath}/Makefile
}

destroot {
    xinstall -s -m 555 ${worksrcpath}/aget ${destroot}${prefix}/bin
}
