1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/devel/hub/Makefile
Steve Wills db5722415e devel/hub: update to 2.2.0
PR:		197999
Submitted by:	swills (myself)
Approved by:	koukopoulos@gmail.com (maintainer)
2015-03-26 19:33:35 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Simon Olofsson <simon@olofsson.de>
# $FreeBSD$
PORTNAME= hub
PORTVERSION= 2.2.0
CATEGORIES= devel
MAINTAINER= koukopoulos@gmail.com
COMMENT= Introduces git to GitHub
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= github
DISTVERSIONPREFIX=v
MASTER_SITES= GH
BUILD_DEPENDS= go:${PORTSDIR}/lang/go \
bash:${PORTSDIR}/shells/bash
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
STRIP= # stripping can break go binaries
PLIST_FILES= bin/hub \
etc/bash_completion.d/hub \
share/zsh/site-functions/_hub \
man/man1/hub.1.gz
do-build:
@cd ${WRKSRC} ; ${SETENV} ${LOCALBASE}/bin/bash script/build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hub ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/etc/hub.bash_completion.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d/hub
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/etc/hub.zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_hub
.include <bsd.port.mk>