mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name fetch
|
|
version 9.0.0-RELEASE
|
|
revision 3
|
|
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
|
|
license BSD
|
|
use_bzip2 yes
|
|
homepage http://www.freebsd.org/
|
|
master_sites macports
|
|
checksums md5 3788e294fbcf146495983a7dd6578ea3 \
|
|
sha1 8524a7ceff4b357068ae186de9193e7779ae2a65 \
|
|
rmd160 58de08f399a04b20eef4f810077c37d6566f72b9
|
|
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 path:lib/libssl.dylib:openssl
|
|
depends_build bin:bsdmake:bsdmake
|
|
|
|
platform darwin {
|
|
patchfiles patch-Makefile patch-fetch.c
|
|
}
|