summaryrefslogtreecommitdiff
path: root/net-im/xmpp-client/Makefile
blob: 2175f87e9a04dc7a27e1e60045e582b1be291d24 (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
PORTNAME=	xmpp-client
PORTVERSION=	20170324
PORTREVISION=	24
CATEGORIES=	net-im

MAINTAINER=	cs@FreeBSD.org
COMMENT=	XMPP client with OTR support
WWW=		https://github.com/agl/xmpp-client

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go

USE_GITHUB=	yes
GH_TUPLE=	agl:xmpp-client:3030ad4:DEFAULT/vendor/github.com/agl/xmpp-client \
		golang:crypto:c126467:crypto/vendor/golang.org/x/crypto \
		golang:net:a680a1e:net/vendor/golang.org/x/net \
		golang:sys:v0.5.0:sys/vendor/golang.org/x/sys

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}

PLIST_FILES=	bin/xmpp-client

do-test:
	cd ${WRKSRC}; \
		${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} test ${GO_BUILDFLAGS} . ./xmpp

.include <bsd.port.mk>