# Created by: Samir Noir PORTNAME= chezmoi DISTVERSIONPREFIX= v DISTVERSION= 2.13.0 CATEGORIES= sysutils MAINTAINER= samir@noir.im COMMENT= Manage your dotfiles across multiple diverse machines, securely LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_ACCOUNT= twpayne GH_TUPLE= FiloSottile:age:v1.0.0:filosottile_age/vendor/filippo.io/age \ Masterminds:goutils:v1.1.1:masterminds_goutils/vendor/github.com/Masterminds/goutils \ Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \ Masterminds:sprig:v3.2.2:masterminds_sprig_v3/vendor/github.com/Masterminds/sprig/v3 \ Microsoft:go-winio:v0.5.2:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \ ProtonMail:go-crypto:70ae35bab23f:protonmail_go_crypto/vendor/github.com/ProtonMail/go-crypto \ acomagu:bufpipe:v1.0.3:acomagu_bufpipe/vendor/github.com/acomagu/bufpipe \ alecthomas:chroma:v0.10.0:alecthomas_chroma/vendor/github.com/alecthomas/chroma \ alessio:shellescape:v1.4.1:alessio_shellescape/vendor/github.com/alessio/shellescape \ aymerick:douceur:v0.2.0:aymerick_douceur/vendor/github.com/aymerick/douceur \ bmatcuk:doublestar:v4.0.2:bmatcuk_doublestar_v4/vendor/github.com/bmatcuk/doublestar/v4 \ bradenhilton:cityhash:v1.0.0:bradenhilton_cityhash/vendor/github.com/bradenhilton/cityhash \ bradenhilton:mozillainstallhash:v1.0.0:bradenhilton_mozillainstallhash/vendor/github.com/bradenhilton/mozillainstallhash \ charmbracelet:glamour:v0.5.0:charmbracelet_glamour/vendor/github.com/charmbracelet/glamour \ coreos:go-semver:v0.3.0:coreos_go_semver/vendor/github.com/coreos/go-semver \ danieljoos:wincred:v1.1.2:danieljoos_wincred/vendor/github.com/danieljoos/wincred \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ dlclark:regexp2:v1.4.0:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ emirpasic:gods:v1.12.0:emirpasic_gods/vendor/github.com/emirpasic/gods \ etcd-io:bbolt:v1.3.6:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ fsnotify:fsnotify:v1.5.1:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go-errgo:errgo:v2.1.0:go_errgo_errgo/vendor/gopkg.in/errgo.v2 \ go-git:gcfg:v1.5.0:go_git_gcfg/vendor/github.com/go-git/gcfg \ go-git:go-billy:v5.3.1:go_git_go_billy_v5/vendor/github.com/go-git/go-billy/v5 \ go-git:go-git:v5.4.2:go_git_go_git_v5/vendor/github.com/go-git/go-git/v5 \ go-ini:ini:v1.66.4:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-warnings:warnings:v0.1.2:go_warnings_warnings/vendor/gopkg.in/warnings.v0 \ go-yaml:yaml:496545a6307b:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ godbus:dbus:v5.0.6:godbus_dbus_v5/vendor/github.com/godbus/dbus/v5 \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:86341886e292:golang_crypto/vendor/golang.org/x/crypto \ golang:net:cd36cc0744dd:golang_net/vendor/golang.org/x/net \ golang:oauth2:d3ed0bb246c8:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:036812b2e83c:golang_sync/vendor/golang.org/x/sync \ golang:sys:3681064d5158:golang_sys/vendor/golang.org/x/sys \ golang:term:03fcf44c2211:golang_term/vendor/golang.org/x/term \ golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \ google:btree:v1.0.1:google_btree/vendor/github.com/google/btree \ google:go-github:v42.0.0:google_go_github_v42/vendor/github.com/google/go-github/v42 \ google:go-querystring:v1.1.0:google_go_querystring/vendor/github.com/google/go-querystring \ google:gops:v0.3.22:google_gops/vendor/github.com/google/gops \ google:renameio:v2.0.0:google_renameio_v2/vendor/github.com/google/renameio/v2 \ google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ gorilla:css:v1.0.0:gorilla_css/vendor/github.com/gorilla/css \ gregjones:httpcache:901d90724c79:gregjones_httpcache/vendor/github.com/gregjones/httpcache \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ huandu:xstrings:v1.3.2:huandu_xstrings/vendor/github.com/huandu/xstrings \ imdario:mergo:v0.3.12:imdario_mergo/vendor/github.com/imdario/mergo \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jbenet:go-context:d14ea06fba99:jbenet_go_context/vendor/github.com/jbenet/go-context \ kevinburke:ssh_config:v1.1.0:kevinburke_ssh_config/vendor/github.com/kevinburke/ssh_config \ lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \ magiconair:properties:v1.8.5:magiconair_properties/vendor/github.com/magiconair/properties \ mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ mattn:go-runewidth:v0.0.13:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ microcosm-cc:bluemonday:v1.0.18:microcosm_cc_bluemonday/vendor/github.com/microcosm-cc/bluemonday \ mitchellh:copystructure:v1.2.0:mitchellh_copystructure/vendor/github.com/mitchellh/copystructure \ mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ mitchellh:mapstructure:v1.4.3:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ mitchellh:reflectwalk:v1.0.2:mitchellh_reflectwalk/vendor/github.com/mitchellh/reflectwalk \ muesli:combinator:v0.3.0:muesli_combinator/vendor/github.com/muesli/combinator \ muesli:reflow:v0.3.0:muesli_reflow/vendor/github.com/muesli/reflow \ muesli:termenv:v0.11.0:muesli_termenv/vendor/github.com/muesli/termenv \ olekukonko:tablewriter:v0.0.5:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \ pelletier:go-toml:v1.9.4:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ peterbourgon:diskv:v2.0.1:peterbourgon_diskv/vendor/github.com/peterbourgon/diskv \ pkg:diff:20ebb0f2a09e:pkg_diff/vendor/github.com/pkg/diff \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ protocolbuffers:protobuf-go:v1.27.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \ rogpeppe:go-internal:v1.8.1:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \ rs:zerolog:v1.26.1:rs_zerolog/vendor/github.com/rs/zerolog \ sergi:go-diff:v1.1.0:sergi_go_diff/vendor/github.com/sergi/go-diff \ shopspring:decimal:v1.3.1:shopspring_decimal/vendor/github.com/shopspring/decimal \ spf13:afero:v1.8.1:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.4.1:spf13_cast/vendor/github.com/spf13/cast \ spf13:cobra:v1.3.0:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.10.1:spf13_viper/vendor/github.com/spf13/viper \ stretchr:objx:v0.3.0:stretchr_objx/vendor/github.com/stretchr/objx \ stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \ subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ twpayne:go-pinentry:v0.2.0:twpayne_go_pinentry/vendor/github.com/twpayne/go-pinentry \ twpayne:go-shell:v0.3.1:twpayne_go_shell/vendor/github.com/twpayne/go-shell \ twpayne:go-vfs:v4.1.0:twpayne_go_vfs_v4/vendor/github.com/twpayne/go-vfs/v4 \ twpayne:go-xdg:v6.0.0:twpayne_go_xdg_v6/vendor/github.com/twpayne/go-xdg/v6 \ uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:multierr:v1.7.0:uber_go_multierr/vendor/go.uber.org/multierr \ ulikunitz:xz:v0.5.10:ulikunitz_xz/vendor/github.com/ulikunitz/xz \ xanzy:ssh-agent:v0.3.1:xanzy_ssh_agent/vendor/github.com/xanzy/ssh-agent \ yuin:goldmark-emoji:v1.0.1:yuin_goldmark_emoji/vendor/github.com/yuin/goldmark-emoji \ yuin:goldmark:v1.4.7:yuin_goldmark/vendor/github.com/yuin/goldmark \ zalando:go-keyring:v0.2.0:zalando_go_keyring/vendor/github.com/zalando/go-keyring \ DHowett:go-plist:v1.0.0:go_plist/vendor/howett.net/plist GO_BUILDFLAGS= -tags noupgrade \ -ldflags="\ -X main.version=${DISTVERSION} \ -X main.date=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}}" PLIST_FILES= bin/chezmoi OPTIONS_DEFINE= BASH FISH ZSH OPTIONS_DEFAULT= BASH FISH ZSH BASH_PLIST_FILES= etc/bash_completion.d/chezmoi FISH_PLIST_FILES= share/fish/vendor_functions.d/chezmoi.fish ZSH_PLIST_FILES= share/zsh/site-functions/_chezmoi # Required to bring DISTINFO_FILE .include SOURCE_DATE_EPOCH_CMD= date -ur $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ' post-extract: @${MKDIR} ${WRKSRC}/vendor/github.com/chris-ramon @${RLN} ${WRKSRC_aymerick_douceur} ${WRKSRC}/vendor/github.com/chris-ramon/douceur post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/completions/chezmoi-completion.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/chezmoi post-install-FISH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d ${INSTALL_DATA} ${WRKSRC}/completions/chezmoi.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d/chezmoi.fish post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/completions/chezmoi.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_chezmoi .include