Lines 10-37
Link Here
|
10 |
COMMENT= Chat over SSH |
10 |
COMMENT= Chat over SSH |
11 |
|
11 |
|
12 |
LICENSE= MIT |
12 |
LICENSE= MIT |
13 |
LICENSE_FILE= ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
14 |
|
15 |
USES= go |
15 |
USES= go:modules |
16 |
|
16 |
|
17 |
USE_GITHUB= nodefault # the main code is in GH_TUPLE |
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= shazow |
18 |
GH_ACCOUNT= shazow |
19 |
GH_TUPLE= shazow:ssh-chat:${DISTVERSIONFULL}:main/src/github.com/shazow/ssh-chat \ |
19 |
GH_TUPLE= shazow:rateio:e8e0088:rateio/vendor/github.com/shazow/rateio \ |
20 |
shazow:rateio:e8e0088:rateio/src/github.com/shazow/rateio \ |
20 |
alexcesaro:log:61e6862:log/vendor/github.com/alexcesaro/log \ |
21 |
alexcesaro:log:61e6862:log/src/github.com/alexcesaro/log \ |
21 |
howeyc:gopass:bf9dde6:gopass/vendor/github.com/howeyc/gopass \ |
22 |
howeyc:gopass:bf9dde6:gopass/src/github.com/howeyc/gopass \ |
22 |
jessevdk:go-flags:c6ca198:flags/vendor/github.com/jessevdk/go-flags \ |
23 |
jessevdk:go-flags:c6ca198:flags/src/github.com/jessevdk/go-flags \ |
23 |
golang:crypto:c126467:crypto/vendor/golang.org/x/crypto \ |
24 |
golang:crypto:c126467:crypto/src/golang.org/x/crypto \ |
24 |
golang:sys:ac767d6:sys/vendor/golang.org/x/sys |
25 |
golang:sys:ac767d6:sys/src/golang.org/x/sys |
|
|
26 |
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} |
27 |
|
25 |
|
|
|
26 |
GO_TARGET= ./cmd/${PORTNAME} |
27 |
|
28 |
PLIST_FILES= bin/${PORTNAME} |
28 |
PLIST_FILES= bin/${PORTNAME} |
29 |
|
29 |
|
30 |
do-build: |
|
|
31 |
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \ |
32 |
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install ./... |
33 |
|
34 |
do-install: |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
36 |
|
37 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |