Return to Makefile CVS log | Up to [cvs.NetBSD.org] / pkgsrc / net / hub |
File: [cvs.NetBSD.org] / pkgsrc / net / hub / Makefile (download)
Revision 1.27, Sun Jun 30 21:23:24 2019 UTC (4 years, 9 months ago) by leot
hub: Update to 2.12.1 Changes: Fixes: - hub pull-request: Avoid crash when the current branch is pushed to a non-GitHub remote - BROWSER environment variable now supports values with spaces in them (must be shell-quoted) - hub help: support man appearing in a path that has spaces - Docs: mention that comma-separated lists must not have spaces |
# $NetBSD: Makefile,v 1.27 2019/06/30 21:23:24 leot Exp $ DISTNAME= hub-2.12.1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GITHUB:=github/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= leot@NetBSD.org HOMEPAGE= https://hub.github.com/ COMMENT= Command-line tool that makes git easier to use with GitHub LICENSE= mit GO_DIST_BASE= ${DISTNAME} GO_SRCPATH= github.com/github/hub DEPENDS+= git-base>=1.7.3:../../devel/git-base SUBST_CLASSES+= man SUBST_STAGE.man= pre-configure SUBST_MESSAGE.man= Fix hub name in hub(1) man page SUBST_FILES.man= share/man/man1/hub.1.md SUBST_SED.man+= -e 's/\$$ git/$$ hub/' SUBST_SED.man+= -e '/\$$ GITHUB_HOST=/ s/ git clone / hub clone /' INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 CHECK_RELRO_SKIP+= bin/hub # Generate hub(1) man page pre-install: cd ${WRKDIR} && \ ./bin/md2roff-bin --manual="hub manual" \ --version=${PKGVERSION_NOREV} \ --template=src/github.com/github/hub/man-template.html \ src/github.com/github/hub/share/man/man1/hub.1.md do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/hub ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/share/man/man1/hub.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../lang/go/go-package.mk" .include "../../mk/bsd.pkg.mk"