diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-09-22 04:08:18 +0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-09-22 04:08:18 +0800 |
commit | 742355224a8106b67b84be13566871ed7b22c923 (patch) | |
tree | 6f2249246fdb2856f4af5da5cade1bba27fd8ba5 /net-im | |
parent | 35da913a9df97a4b714c95f77506a2ec393e736a (diff) | |
download | freebsd-ports-gnome-742355224a8106b67b84be13566871ed7b22c923.tar.gz freebsd-ports-gnome-742355224a8106b67b84be13566871ed7b22c923.tar.zst freebsd-ports-gnome-742355224a8106b67b84be13566871ed7b22c923.zip |
net-im/xmpp-client: Remove dependency on packaged Go libs
Also add LICENSE_FILE.
PR: 229989
Submitted by: Dmitri Goutnik <dg@syrec.org>
Approved by: cs (maintainer's timeout; 59 days)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/xmpp-client/Makefile | 23 | ||||
-rw-r--r-- | net-im/xmpp-client/distinfo | 16 |
2 files changed, 30 insertions, 9 deletions
diff --git a/net-im/xmpp-client/Makefile b/net-im/xmpp-client/Makefile index 19085cb63106..25db2dc28020 100644 --- a/net-im/xmpp-client/Makefile +++ b/net-im/xmpp-client/Makefile @@ -2,21 +2,32 @@ PORTNAME= xmpp-client PORTVERSION= 20170324 +PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= cs@FreeBSD.org COMMENT= XMPP client with OTR support LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/golang.org/x/crypto/bcrypt.a:security/go.crypto \ - ${LOCALBASE}/${GO_LIBDIR}/golang.org/x/net/dict.a:net/go.net +BUILD_DEPENDS= go:lang/go USE_GITHUB= yes -GH_ACCOUNT= agl -GH_TAGNAME= 3030ad42ee2df255ffc108dc6d04893d9501c863 -USES= go +GH_TUPLE= agl:xmpp-client:3030ad4:DEFAULT/src/github.com/agl/xmpp-client \ + golang:crypto:c126467:crypto/src/golang.org/x/crypto \ + golang:net:a680a1e:net/src/golang.org/x/net \ + golang:sys:ac767d6:sys/src/golang.org/x/sys + PLIST_FILES= bin/xmpp-client -GO_PKGNAME= github.com/agl/${PORTNAME} + +do-build: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} + +do-test: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go test . ./xmpp + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/net-im/xmpp-client/distinfo b/net-im/xmpp-client/distinfo index 5dd604ad8a4b..d2f8833c396c 100644 --- a/net-im/xmpp-client/distinfo +++ b/net-im/xmpp-client/distinfo @@ -1,3 +1,13 @@ -TIMESTAMP = 1491145506 -SHA256 (agl-xmpp-client-20170324-3030ad42ee2df255ffc108dc6d04893d9501c863_GH0.tar.gz) = 3e231f2eb50db38bc8aa235bb3c59241f6ca977bd8f5f3013a8d6295fcdcb79e -SIZE (agl-xmpp-client-20170324-3030ad42ee2df255ffc108dc6d04893d9501c863_GH0.tar.gz) = 39132 +TIMESTAMP = 1532371002 +SHA256 (agl-xmpp-client-20170324-3030ad4_GH0.tar.gz) = b2259af44792d83b05b3f3e3a74b32b77ff0e986e2e3f48df87e912a98ac3a97 +SIZE (agl-xmpp-client-20170324-3030ad4_GH0.tar.gz) = 39073 +SHA256 (golang-crypto-c126467_GH0.tar.gz) = af4ccc970d8ad62b042a0dcfa54d00c3b059840e61cd9023b059f848964b7b17 +SIZE (golang-crypto-c126467_GH0.tar.gz) = 1624160 +SHA256 (golang-net-a680a1e_GH0.tar.gz) = 719c3242af47fce2893f8d31fc9b53204bc00048f35990e56f1513d8db6fbf1b +SIZE (golang-net-a680a1e_GH0.tar.gz) = 963677 +SHA256 (golang-sys-ac767d6_GH0.tar.gz) = 8cfe5e75d7d145302d18a41938c0c0c18d82644de0a753b7b503efe3071258dd +SIZE (golang-sys-ac767d6_GH0.tar.gz) = 980197 +SHA256 (golang-text-0605a83_GH0.tar.gz) = 1c1d738849344300ad1321ff2d7f81226570249ed82517247136d62766277ac1 +SIZE (golang-text-0605a83_GH0.tar.gz) = 6567793 +SHA256 (golang-tools-96ee421_GH0.tar.gz) = c8bcb0f042dca446fe0492680d158ddd8156da739725ea672bf4e1fe8b096449 +SIZE (golang-tools-96ee421_GH0.tar.gz) = 2312124 |