1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/devel/packr/Makefile

60 lines
2.3 KiB
Makefile

# $FreeBSD$
PORTNAME= packr
DISTVERSIONPREFIX= v
DISTVERSION= 2.8.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
USE_GITHUB= yes
GH_ACCOUNT= gobuffalo
GH_TUPLE= \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
gobuffalo:envy:v1.7.1:gobuffalo_envy/vendor/github.com/gobuffalo/envy \
gobuffalo:logger:v1.0.3:gobuffalo_logger/vendor/github.com/gobuffalo/logger \
gobuffalo:packd:v1.0.0:gobuffalo_packd/vendor/github.com/gobuffalo/packd \
golang:crypto:ac88ee75c92c:golang_crypto/vendor/golang.org/x/crypto \
golang:sync:cd5d95a43a6e:golang_sync/vendor/golang.org/x/sync \
golang:sys:953cdadca894:golang_sys/vendor/golang.org/x/sys \
golang:tools:11ec41452d41: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.15.3: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 \
markbates:errx:v1.1.0:markbates_errx/vendor/github.com/markbates/errx \
markbates:oncer:v1.0.0:markbates_oncer/vendor/github.com/markbates/oncer \
markbates:safe:v1.0.1:markbates_safe/vendor/github.com/markbates/safe \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
rogpeppe:go-internal:v1.5.2: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.6:spf13_cobra/vendor/github.com/spf13/cobra \
spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \
stretchr:testify:v1.5.1:stretchr_testify/vendor/github.com/stretchr/testify
GO_TARGET= ./packr \
./v2/packr2
PLIST_FILES= bin/packr \
bin/packr2
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-extract:
@${RM} ${WRKSRC}/v2/go.mod
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>