Commit f43b4ec6 authored by tobik's avatar tobik
Browse files

New port: devel/ghq

ghq provides a way to organize remote repository clones, like go
get does.  When you clone a remote repository with ghq, it creates
a directory under a specific root directory using the remote
repository URL's host and path.

You can also list local repositories, jump into local repositories,
and bulk get repositories by list of URLs.

WWW: https://github.com/motemen/ghq
parent a1336deb
......@@ -766,6 +766,7 @@
SUBDIR += gettext-runtime
SUBDIR += gettext-tools
SUBDIR += gflags
SUBDIR += ghq
SUBDIR += ghub
SUBDIR += gindent
SUBDIR += gio-sharp
......
# $FreeBSD$
PORTNAME= ghq
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
CATEGORIES= devel
MAINTAINER= tobik@FreeBSD.org
COMMENT= Remote repository management made easy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go>=1.8,1:lang/go
USE_GITHUB= yes
GH_ACCOUNT= motemen
GH_SUBDIR= src/github.com/motemen/ghq
GH_TUPLE= urfave:cli:b67dcf995b6a7b7f14fad5fcb7cc5441b05e814b:cli/src/github.com/urfave/cli \
motemen:go-colorine:45d19169413a019e4e2be69629dde5c7d92f8706:go_colorine/src/github.com/motemen/go-colorine \
daviddengcn:go-colortext:186a3d44e9200d7eb331356ca4864f52708e1399:go_colortext/src/github.com/daviddengcn/go-colortext \
mitchellh:go-homedir:af06845cf3004701891bf4fdb884bfe4920b3727:go_homedir/src/github.com/mitchellh/go-homedir
MAKE_ENV= GOPATH=${WRKSRC}
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
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o ${WRKSRC}/ghq \
-ldflags "-X \"main.Version=${PKGVERSION}\""
do-build-MANPAGES-on:
cd ${WRKSRC} && asciidoctor -b manpage -d manpage ghq.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ghq ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/zsh/_ghq \
${STAGEDIR}${PREFIX}/share/zsh/site-functions
do-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/ghq.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
TIMESTAMP = 1549105807
SHA256 (motemen-ghq-v0.9.0_GH0.tar.gz) = c5b9ff71ab533a2789da27368603852a3969c5cf8137b12b95e1bcbdaa816cf6
SIZE (motemen-ghq-v0.9.0_GH0.tar.gz) = 17413
SHA256 (mitchellh-go-homedir-af06845cf3004701891bf4fdb884bfe4920b3727_GH0.tar.gz) = 89fc9db4b4e755e6190ab36192d74be56e69005bc46975232f524388bedea4db
SIZE (mitchellh-go-homedir-af06845cf3004701891bf4fdb884bfe4920b3727_GH0.tar.gz) = 3362
SHA256 (motemen-go-colorine-45d19169413a019e4e2be69629dde5c7d92f8706_GH0.tar.gz) = 3a1684f54b1cf101a4470cc4fb7bf245e925985c631c247664b822a975e9a81c
SIZE (motemen-go-colorine-45d19169413a019e4e2be69629dde5c7d92f8706_GH0.tar.gz) = 88147
SHA256 (daviddengcn-go-colortext-186a3d44e9200d7eb331356ca4864f52708e1399_GH0.tar.gz) = 3957e4cb7a2a1c45c3ed849c91b44755fa3d1eee80a03dddb23804f3a1cf4550
SIZE (daviddengcn-go-colortext-186a3d44e9200d7eb331356ca4864f52708e1399_GH0.tar.gz) = 4537
SHA256 (urfave-cli-b67dcf995b6a7b7f14fad5fcb7cc5441b05e814b_GH0.tar.gz) = f3c79af3916d5676323bb7a82bf7b37fe03bd6e8106b03f8170d26389cf688ff
SIZE (urfave-cli-b67dcf995b6a7b7f14fad5fcb7cc5441b05e814b_GH0.tar.gz) = 65421
--- ghq.txt.orig 2019-02-02 11:26:33 UTC
+++ ghq.txt
@@ -1,4 +1,4 @@
-= ghq(1) image:https://travis-ci.org/motemen/ghq.svg?branch=master["Build Status", link="https://travis-ci.org/motemen/ghq"]
+= ghq(1)
== NAME
ghq provides a way to organize remote repository clones, like go
get does. When you clone a remote repository with ghq, it creates
a directory under a specific root directory using the remote
repository URL's host and path.
You can also list local repositories, jump into local repositories,
and bulk get repositories by list of URLs.
WWW: https://github.com/motemen/ghq
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment