aboutsummaryrefslogtreecommitdiffstats
path: root/security/meek/Makefile
blob: d3aafc881b35f760b6ffdac9097d892342eca7e5 (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
# $FreeBSD$

PORTNAME=   meek
PORTVERSION=    0.21
CATEGORIES= security
MASTER_SITES=   http://c-s.li/ports/

MAINTAINER= cs@FreeBSD.org
COMMENT=    Pluggable transport proxy that relays through third-party server

BUILD_DEPENDS=  ${LOCALBASE}/${GO_LIBDIR}/git.torproject.org/pluggable-transports/goptlib.git.a:security/goptlib

USES=       go
PLIST_FILES=    bin/meek-client bin/meek-server man/man1/meek-client.1.gz man/man1/meek-server.1.gz
SUB_FILES=  pkg-message
GO_PKGNAME= git.torproject.org/pluggable-transports/${PORTNAME}.git
GO_TARGET=  ${GO_PKGNAME}/${PORTNAME}-server \
        ${GO_PKGNAME}/${PORTNAME}-client

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/meek-server.1 ${STAGEDIR}${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/doc/meek-client.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>