# $FreeBSD$ PORTNAME= pond PORTVERSION= 20150830 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://c-s.li/ports/ DISTFILES= pond-20150830.tar.gz \ go-gtk-20151214.tar.gz \ ed25519-20150830.tar.gz MAINTAINER= cs@FreeBSD.org COMMENT= Forward secure, asynchronous messenger LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/golang.org/x/crypto/bcrypt.a:${PORTSDIR}/security/go.crypto \ ${LOCALBASE}/${GO_LIBDIR}/github.com/golang/protobuf/proto.a:${PORTSDIR}/devel/goprotobuf \ ${LOCALBASE}/${GO_LIBDIR}/code.google.com/p/go.net/dict.a:${PORTSDIR}/net/go.net RUN_DEPENDS= tor:${PORTSDIR}/security/tor LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell \ libtspi.so:${PORTSDIR}/security/trousers PLIST_FILES= bin/pond-server bin/pond USE_GNOME= gtk30 GO_PKGNAME= github.com/agl/pond GO_TARGET= ${GO_PKGNAME}/pond-server \ ${GO_PKGNAME}/pond post-extract: @${MKDIR} ${GO_WRKSRC:H} @${LN} -sf ${WRKSRC} ${GO_WRKSRC} @${LN} -sf ${WRKSRC}/client ${WRKSRC}/pond @${LN} -sf ${WRKSRC}/server ${WRKSRC}/pond-server @${LN} -sf ${WRKDIR}/go-gtk-20151214 ${GO_WRKDIR_SRC}/github.com/agl/go-gtk @${LN} -sf ${WRKDIR}/ed25519-20150830 ${GO_WRKDIR_SRC}/github.com/agl/ed25519 post-patch: @${REINPLACE_CMD} -e 's|\ .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include