Files

53 lines
2.0 KiB
Tcl

# -*- 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
PortGroup github 1.0
name CocoaRestClient
github.setup mmattozzi cocoa-rest-client 1.4.7
github.tarball_from releases
categories www
platforms macosx
supported_archs x86_64
license BSD
maintainers nomaintainer
description A free, native macOS app for testing HTTP/REST endpoints
long_description Test and interact with HTTP/REST resources:\
\n* Make GET, PUT, POST, DELETE, and HEAD calls.\
\n* Set request headers and display response headers.\
\n* Automatically pretty print XML and JSON content.\
\n* Quick save of request URLs, body, and headers in one convenient drawer.\
\n* Lightweight: Low real memory usage.\
\n* SSL Support (including untrusted certificates).\
\n* Optionally follows HTTP redirects.\
\n* Set HTTP Basic or Digest Auth.\
\n* Set HTTP request body content to a raw text blob or a list of parameters.\
\n* Upload files using HTTP multipart requests. HTTP form encoding also supported.\
\n* Unified diff tool for comparing responses.
homepage http://mmattozzi.github.io/cocoa-rest-client/
distname ${name}-${version}
use_dmg yes
checksums rmd160 7d981bd5d77b147209a3c3555a957ea8aac3ef78 \
sha256 8e974818e5b77e6e4291acbe09d439c3c17b01c23e48d2272f7817e2d18e9968 \
size 6776617
if {${os.major} < 16} {
known_fail yes
pre-fetch {
return -code error "This port requires at least macOS Sierra (10.12)."
}
}
use_configure no
build {}
destroot {
copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}
}