1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/hub/Makefile
Raphael Kubo da Costa 5206edb2e2 Add devel/hub.
hub is a command line tool that wraps git in order to extend it with extra
features and commands that make working with GitHub easier.

PR:		ports/172214
Submitted by:	Simon Olofsson <simon@olofsson.de>
Feature safe:	yes
2012-10-21 13:47:50 +00:00

40 lines
944 B
Makefile

# Created by: Simon Olofsson <simon@olofsson.de>
# $FreeBSD$
PORTNAME= hub
PORTVERSION= 1.10.2
CATEGORIES= devel
MAINTAINER= simon@olofsson.de
COMMENT= Introduces git to GitHub
USE_GITHUB= yes
GH_ACCOUNT= defunkt
GH_TAGNAME= v${DISTVERSION}
GH_COMMIT= 16b388a
USE_RUBY= yes
USE_RAKE= yes
PLIST_FILES= bin/hub \
etc/bash_completion.d/hub \
share/zsh/site-functions/_hub
PLIST_DIRSTRY= etc/bash_completion.d \
share/zsh/site-functions share/zsh
MAN1= hub.1
do-build:
@cd ${WRKSRC} && ${RAKE_BIN} standalone
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/hub ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${MAN1PREFIX}/man/man1
post-install:
${MKDIR} ${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/etc/hub.bash_completion.sh ${PREFIX}/etc/bash_completion.d/hub
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/etc/hub.zsh_completion ${PREFIX}/share/zsh/site-functions/_hub
.include <bsd.port.mk>