aboutsummaryrefslogtreecommitdiff
path: root/security/proxytunnel/Makefile
blob: f90b9921113583830cf1458488d7ad082bb28a6b (plain) (blame)
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
PORTNAME=	proxytunnel
PORTVERSION=	1.10.20210604
DISTVERSIONPREFIX=	v
CATEGORIES=	security

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Connects stdin and stdout to an origin server through an HTTPS proxy

LICENSE=	GPLv2+ BSD3CLAUSE MIT
LICENSE_COMB=	multi
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
		minixmlto:textproc/minixmlto

USES=		cpe gmake pkgconfig ssl
USE_GITHUB=	yes

PLIST_FILES=	bin/proxytunnel man/man1/proxytunnel.1.gz

post-patch:
	${REINPLACE_CMD} -e "s/xmlto/minixmlto/g" ${WRKSRC}/docs/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
		${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>