# $Id$ PortSystem 1.0 name fetch version 6.2.0-RELEASE categories net maintainers nomaintainer description FreeBSD file fetching utility long_description Fetch provides a command-line interface to the fetch(3) library. \ Its purpose is to retrieve the file(s) pointed to by the URL(s) on the command line. platforms darwin freebsd use_bzip2 yes homepage http://www.freebsd.org/ master_sites macports checksums md5 41f930ab95e10e6d204bf8ac380db7bd worksrcdir ${name} use_configure no depends_lib lib:libfetch.4:libfetch build.type bsd build.args CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib destroot { xinstall -m 755 ${workpath}/${worksrcdir}/fetch ${destroot}${prefix}/bin xinstall -m 644 -c ${workpath}/${worksrcdir}/fetch.1 ${destroot}${prefix}/share/man/man1 } platform darwin { patchfiles patch-Makefile patch-fetch.c build.args-append CFLAGS+=-D__FBSDID=__RCSID }