# $Id$ PortSystem 1.0 name fetch version 7.4.0-RELEASE revision 1 categories net maintainers afb 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 license BSD use_bzip2 yes homepage http://www.freebsd.org/ master_sites macports checksums md5 8625ef0e30fc922efb0da566765371c7 \ sha1 44ee199b6493b92aa7c56b33923c8e59c18c839f \ rmd160 bb44a3cac83f96626a7d9790d996fb9183913bb3 variant universal {} build.type bsd build.env CC=${configure.cc} \ CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags]" \ LDFLAGS="${configure.ldflags} [get_canonical_archflags]" build.args -DMK_OPENSSL worksrcdir ${name} use_configure no destroot { xinstall -m 755 -c ${worksrcpath}/fetch ${destroot}${prefix}/bin xinstall -m 644 -c ${worksrcpath}/fetch.1 ${destroot}${prefix}/share/man/man1 } depends_lib port:libfetch port:openssl depends_build bin:bsdmake:bsdmake platform darwin { patchfiles patch-Makefile patch-fetch.c }