# $FreeBSD$ PORTNAME= ghq DISTVERSIONPREFIX= v DISTVERSION= 0.12.5 CATEGORIES= devel MAINTAINER= tobik@FreeBSD.org COMMENT= Remote repository management made easy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_PKGNAME= github.com/motemen/ghq USE_GITHUB= yes GH_ACCOUNT= motemen GH_TUPLE= Songmu:gitconfig:v0.0.2:songmu_gitconfig/vendor/github.com/Songmu/gitconfig \ daviddengcn:go-colortext:186a3d44e920:daviddengcn_go_colortext/vendor/github.com/daviddengcn/go-colortext \ go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ golang:net:3ec191127204:golang_net/vendor/golang.org/x/net \ golang:sync:112230192c58:golang_sync/vendor/golang.org/x/sync \ golang:xerrors:3ee3066db522:golang_xerrors/vendor/golang.org/x/xerrors \ motemen:go-colorine:45d19169413a:motemen_go_colorine/vendor/github.com/motemen/go-colorine \ urfave:cli:v1.20.0:urfave_cli/vendor/github.com/urfave/cli PLIST_FILES= bin/ghq \ share/zsh/site-functions/_ghq OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES MANPAGES_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor MANPAGES_PLIST_FILES= man/man1/ghq.1.gz post-build-MANPAGES-on: cd ${WRKSRC} && asciidoctor -b manpage -d manpage -o ghq.1 README.adoc post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/zsh/_ghq \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/ghq.1 ${STAGEDIR}${PREFIX}/man/man1 .include