aboutsummaryrefslogtreecommitdiffstats
path: root/net/go-madonctl/Makefile
blob: f2b1ce975394ab1b4e40caa329ed7953f9ba9c6e (plain) (blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   madonctl
PORTVERSION=    1.1.0
DISTVERSIONPREFIX=  v
CATEGORIES= net
PKGNAMEPREFIX=  go-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    CLI client for the Mastodon social network API

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

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

PLIST_FILES=    bin/madonctl

GH_TUPLE=   McKael:${PORTNAME}:${DISTVERSIONFULL} \
        McKael:madon:v1.5.0:madon/../src/github.com/McKael/madon \
        fsnotify:fsnotify:v1.4.2:fsnotify/../src/github.com/fsnotify/fsnotify \
        ghodss:yaml:v1.0.0:yaml/../src/github.com/ghodss/yaml \
        go-yaml:yaml:cd8b52f:yaml2/../src/gopkg.in/yaml.v2 \
        golang:net:5139290:net/../src/golang.org/x/net \
        golang:oauth2:f047394:oauth2/../src/golang.org/x/oauth2 \
        golang:sys:a2e06a1:sys/../src/golang.org/x/sys \
        golang:text:19e5161:text/../src/golang.org/x/text \
        gorilla:websocket:v1.1.0:websocket/../src/github.com/gorilla/websocket \
        hashicorp:hcl:392dba7:hcl/../src/github.com/hashicorp/hcl \
        kr:text:7cafcd8:text2/../src/github.com/kr/text \
        m0t0k1ch1:gomif:v0.3.0:gomif/../src/github.com/m0t0k1ch1/gomif \
        magiconair:properties:v1.7.2:properties/../src/github.com/magiconair/properties \
        mattn:go-isatty:v0.0.2:goisatty/../src/github.com/mattn/go-isatty \
        mitchellh:mapstructure:cc8532a:mapstructure/../src/github.com/mitchellh/mapstructure \
        pelletier:go-toml:v0.5.0:gotoml/../src/github.com/pelletier/go-toml \
        pelletier:go-buffruneio:v0.2.0:buffruneio/../src/github.com/pelletier/go-buffruneio \
        pkg:errors:v0.8.0:errors/../src/github.com/pkg/errors \
        sendgrid:rest:v2.4.0:rest/../src/github.com/sendgrid/rest \
        spf13:afero:9be6508:afero/../src/github.com/spf13/afero \
        spf13:cast:v1.1.0:cast/../src/github.com/spf13/cast \
        spf13:cobra:ca57f0f:cobra/../src/github.com/spf13/cobra \
        spf13:jWalterWeatherman:8f07c83:jWalterWeatherman/../src/github.com/spf13/jwalterweatherman \
        spf13:pflag:e57e3ee:pflag/../src/github.com/spf13/pflag \
        spf13:viper:0967fc9:viper/../src/github.com/spf13/viper
USE_GITHUB= yes

do-install:
    ${INSTALL_PROGRAM} ${WRKDIR}/bin/madonctl ${STAGEDIR}${PREFIX}/bin/madonctl

.include <bsd.port.mk>