# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem              1.0

name                    snarf
version                 7.0
revision                1
checksums               rmd160  f546eab5a5d250686306c50f4c676868c6ada32e \
                        sha256  85a0846d452b02eaff225bf68fb36e68dfc55be5a58fda38dcb3602dcc300a89 \
                        size    64495
categories              net
license                 GPL-2
maintainers             nomaintainer

description             Simple, non-interactive, all-purpose resource fetcher
long_description \
    snarf is a command line resource grabber. It can transfer files \
    through the http, gopher, finger, and ftp protocols without user \
    interaction. It is small and fast.

homepage                https://www.xach.com/snarf/
master_sites            ${homepage}download/source/

patchfiles              implicit.patch
use_autoconf            yes

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}/
}
