svn commit: r505607 - head/net-im/ssh-chat
Yuri Victorovich
yuri at FreeBSD.org
Mon Jul 1 15:49:25 UTC 2019
Author: yuri
Date: Mon Jul 1 15:49:23 2019
New Revision: 505607
URL: https://svnweb.freebsd.org/changeset/ports/505607
Log:
net-im/ssh-chat: Switch to USES=go:modules, fix build with go1.13beta1
PR: 238926
Submitted by: Dmitri Goutnik <dg at syrec.org>
Modified:
head/net-im/ssh-chat/Makefile
Modified: head/net-im/ssh-chat/Makefile
==============================================================================
--- head/net-im/ssh-chat/Makefile Mon Jul 1 15:45:58 2019 (r505606)
+++ head/net-im/ssh-chat/Makefile Mon Jul 1 15:49:23 2019 (r505607)
@@ -10,28 +10,21 @@ MAINTAINER= yuri at FreeBSD.org
COMMENT= Chat over SSH
LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/LICENSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go
+USES= go:modules
-USE_GITHUB= nodefault # the main code is in GH_TUPLE
+USE_GITHUB= yes
GH_ACCOUNT= shazow
-GH_TUPLE= shazow:ssh-chat:${DISTVERSIONFULL}:main/src/github.com/shazow/ssh-chat \
- shazow:rateio:e8e0088:rateio/src/github.com/shazow/rateio \
- alexcesaro:log:61e6862:log/src/github.com/alexcesaro/log \
- howeyc:gopass:bf9dde6:gopass/src/github.com/howeyc/gopass \
- jessevdk:go-flags:c6ca198:flags/src/github.com/jessevdk/go-flags \
- golang:crypto:c126467:crypto/src/golang.org/x/crypto \
- golang:sys:ac767d6:sys/src/golang.org/x/sys
-GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
+GH_TUPLE= shazow:rateio:e8e0088:rateio/vendor/github.com/shazow/rateio \
+ alexcesaro:log:61e6862:log/vendor/github.com/alexcesaro/log \
+ howeyc:gopass:bf9dde6:gopass/vendor/github.com/howeyc/gopass \
+ jessevdk:go-flags:c6ca198:flags/vendor/github.com/jessevdk/go-flags \
+ golang:crypto:c126467:crypto/vendor/golang.org/x/crypto \
+ golang:sys:ac767d6:sys/vendor/golang.org/x/sys
-PLIST_FILES= bin/${PORTNAME}
+GO_TARGET= ./cmd/${PORTNAME}
-do-build:
- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \
- ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install ./...
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list