aboutsummaryrefslogtreecommitdiffstats
path: root/devel/packr/Makefile
blob: 3d278d679342e0206ae5178cf285ff8306f35028 (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
53
54
55
56
# $FreeBSD$

PORTNAME=   packr
DISTVERSIONPREFIX=  v
DISTVERSION=    2.6.0
CATEGORIES= devel

MAINTAINER= dmgk@FreeBSD.org
COMMENT=    Simple and easy way to embed static files into Go binaries

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

USES=       go:modules

GO_TARGET=  ./packr \
        ./v2/packr2

USE_GITHUB= yes
GH_ACCOUNT= gobuffalo
GH_TUPLE=   \
        davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
        gobuffalo:envy:v1.7.0:gobuffalo_envy/vendor/github.com/gobuffalo/envy \
        gobuffalo:logger:v1.0.0:gobuffalo_logger/vendor/github.com/gobuffalo/logger \
        gobuffalo:packd:v0.3.0:gobuffalo_packd/vendor/github.com/gobuffalo/packd \
        golang:crypto:cc06ce4a13d4:golang_crypto/vendor/golang.org/x/crypto \
        golang:net:eb5bcb51f2a3:golang_net/vendor/golang.org/x/net \
        golang:sync:112230192c58:golang_sync/vendor/golang.org/x/sync \
        golang:sys:06a5c4944438:golang_sys/vendor/golang.org/x/sys \
        golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \
        golang:tools:6cdbf07be9d0:golang_tools/vendor/golang.org/x/tools \
        inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
        joho:godotenv:v1.3.0:joho_godotenv/vendor/github.com/joho/godotenv \
        karrick:godirwalk:v1.10.12:karrick_godirwalk/vendor/github.com/karrick/godirwalk \
        konsorten:go-windows-terminal-sequences:v1.0.2:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
        pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
        rogpeppe:go-internal:v1.3.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \
        sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
        spf13:cobra:v0.0.5:spf13_cobra/vendor/github.com/spf13/cobra \
        spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag

post-extract:
    @${RM} ${WRKSRC}/v2/go.mod

PLIST_FILES=    bin/packr \
        bin/packr2

PORTDOCS=   README.md

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>