Changeset View
Changeset View
Standalone View
Standalone View
head/security/meek/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= meek | PORTNAME= meek | ||||
PORTVERSION= 0.21 | PORTVERSION= 0.21 | ||||
CATEGORIES= security | CATEGORIES= security | ||||
MASTER_SITES= http://c-s.li/ports/ | MASTER_SITES= http://c-s.li/ports/ | ||||
MAINTAINER= cs@FreeBSD.org | MAINTAINER= cs@FreeBSD.org | ||||
COMMENT= Pluggable transport proxy that relays through third-party server | 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 | 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 | PLIST_FILES= bin/meek-client bin/meek-server man/man1/meek-client.1.gz man/man1/meek-server.1.gz | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
GO_PKGNAME= git.torproject.org/pluggable-transports/${PORTNAME}.git | GO_PKGNAME= git.torproject.org/pluggable-transports/${PORTNAME}.git | ||||
GO_TARGET= ${GO_PKGNAME}/${PORTNAME}-server \ | GO_TARGET= ${GO_PKGNAME}/${PORTNAME}-server \ | ||||
${GO_PKGNAME}/${PORTNAME}-client | ${GO_PKGNAME}/${PORTNAME}-client | ||||
post-extract: | |||||
@${MKDIR} ${GO_WRKSRC:H} | |||||
@${LN} -sf ${WRKSRC} ${GO_WRKSRC} | |||||
post-install: | post-install: | ||||
${INSTALL_MAN} ${WRKSRC}/doc/meek-server.1 ${STAGEDIR}${PREFIX}/man/man1 | ${INSTALL_MAN} ${WRKSRC}/doc/meek-server.1 ${STAGEDIR}${PREFIX}/man/man1 | ||||
${INSTALL_MAN} ${WRKSRC}/doc/meek-client.1 ${STAGEDIR}${PREFIX}/man/man1 | ${INSTALL_MAN} ${WRKSRC}/doc/meek-client.1 ${STAGEDIR}${PREFIX}/man/man1 | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.mk> | ||||
.include "${PORTSDIR}/lang/go/files/bsd.go.mk" | |||||
.include <bsd.port.post.mk> |