summaryrefslogtreecommitdiff
path: root/www/hurl/Makefile
blob: 16045388d1c597b089d4f33842e5ecbef9a371b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	hurl
DISTVERSION=	4.0.0
PORTREVISION=	1
CATEGORIES=	www

MAINTAINER=	rodrigo@FreeBSD.org
COMMENT=	CLI to run HTTP requests defined in a simple plain text format
WWW=		https://hurl.dev/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcurl.so:ftp/curl

USES=		cargo ssl gnome
USE_GITHUB=	yes
GH_ACCOUNT=	Orange-OpenSource
USE_GNOME=	libxml2

CARGO_INSTALL_PATH=	packages/hurl packages/hurlfmt

PLIST_FILES=	bin/hurl \
				bin/hurlfmt \
				man/man1/hurl.1.gz \
				man/man1/hurlfmt.1.gz

post-install:
	${INSTALL_MAN} ${WRKSRC}/docs/manual/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/

.include <bsd.port.mk>