Date: Thu, 15 Nov 2018 10:54:06 +0000 (UTC) From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485012 - head/devel/git-lfs Message-ID: <201811151054.wAFAs6XD084131@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: egypcio Date: Thu Nov 15 10:54:05 2018 New Revision: 485012 URL: https://svnweb.freebsd.org/changeset/ports/485012 Log: devel/git-lfs: update to v2.6.0 - adopted the port; - made better use of port's Go framework; - removed 'shells/bash' and 'devel/gmake' from BUILD_DEPENDS; - added 'devel/git' to RUN_DEPENDS; - added 'pkg-message' with info from upstream on how to setup LFS; - added new 'MANPAGES' option. Approved by: araujo (mentor), mat Differential Revision: https://reviews.freebsd.org/D17904 Added: head/devel/git-lfs/pkg-message (contents, props changed) head/devel/git-lfs/pkg-plist (contents, props changed) Modified: head/devel/git-lfs/Makefile head/devel/git-lfs/distinfo Modified: head/devel/git-lfs/Makefile ============================================================================== --- head/devel/git-lfs/Makefile Thu Nov 15 10:11:25 2018 (r485011) +++ head/devel/git-lfs/Makefile Thu Nov 15 10:54:05 2018 (r485012) @@ -2,32 +2,36 @@ PORTNAME= git-lfs DISTVERSIONPREFIX= v -DISTVERSION= 2.5.2 +DISTVERSION= 2.6.0 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +MAINTAINER= egypcio@googlemail.com COMMENT= Git extension for versioning large files LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -BUILD_DEPENDS= bash:shells/bash +RUN_DEPENDS= git:devel/git -USES= go gmake +USES= go USE_GITHUB= yes -PLIST_FILES= bin/git-lfs +GH_TUPLE= davecgh:go-spew:d8f796a:davecgh_spew/vendor/github.com/davecgh/go-spew \ + pmezard:go-difflib:792786c:pmezard_difflib/vendor/github.com/pmezard/go-difflib + GO_PKGNAME= github.com/${PORTNAME}/${PORTNAME} -do-build: - @cd ${GO_WRKSRC} && ${MKDIR} ${WRKSRC}/.tmp && \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} \ - TMPDIR=${WRKSRC}/.tmp GOARCH=${GOARCH} GOOS="freebsd" \ - VERSION="" GIT_LFS_SHA="" GO=${GO_CMD} \ - ${SH} -c "${GO_CMD} generate ${GO_PKGNAME}/commands && \ - ${MAKE_CMD} bin/git-lfs" +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT= MANPAGES +OPTIONS_SUB= yes -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/git-lfs ${STAGEDIR}${PREFIX}/bin/git-lfs +MANPAGES_BUILD_DEPENDS= ronn:textproc/rubygem-ronn + +post-build-MANPAGES-on: + cd ${GO_WRKSRC}/docs/man && ${LOCALBASE}/bin/ronn -r *.ronn + +post-install-MANPAGES-on: + ${INSTALL_MAN} ${GO_WRKSRC}/docs/man/*.1 ${STAGEDIR}${LOCALBASE}/man/man1 + ${INSTALL_MAN} ${GO_WRKSRC}/docs/man/*.5 ${STAGEDIR}${LOCALBASE}/man/man5 .include <bsd.port.mk> Modified: head/devel/git-lfs/distinfo ============================================================================== --- head/devel/git-lfs/distinfo Thu Nov 15 10:11:25 2018 (r485011) +++ head/devel/git-lfs/distinfo Thu Nov 15 10:54:05 2018 (r485012) @@ -1,3 +1,7 @@ -TIMESTAMP = 1537290659 -SHA256 (git-lfs-git-lfs-v2.5.2_GH0.tar.gz) = 0ab21f0f9b6c40acd9748a1669f1023ef38f913d8be83bbf7b7c7d983bd3c4d1 -SIZE (git-lfs-git-lfs-v2.5.2_GH0.tar.gz) = 947150 +TIMESTAMP = 1541665734 +SHA256 (git-lfs-git-lfs-v2.6.0_GH0.tar.gz) = e75b361d828d7b6e9ba537137d5243fa1e000a20686cddec2775b533a6b08f01 +SIZE (git-lfs-git-lfs-v2.6.0_GH0.tar.gz) = 1605203 +SHA256 (davecgh-go-spew-d8f796a_GH0.tar.gz) = d009b3cf2f72f26e6b79371cd1220bfd0cccdc94fa0f538f6c1ac1df2275bd79 +SIZE (davecgh-go-spew-d8f796a_GH0.tar.gz) = 42167 +SHA256 (pmezard-go-difflib-792786c_GH0.tar.gz) = 7c2a6d7ea0700411ba7d13865230c03bd6734d3ff6c213357bda121f5bb707fb +SIZE (pmezard-go-difflib-792786c_GH0.tar.gz) = 11401 Added: head/devel/git-lfs/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/git-lfs/pkg-message Thu Nov 15 10:54:05 2018 (r485012) @@ -0,0 +1,22 @@ +To get started with Git LFS, the following commands can be used: + + 1. Setup Git LFS on your system. You only have to do this once per + repository per machine: + + $ git lfs install + + 2. Choose the type of files you want to track, for examples all ISO + images, with git lfs track: + + $ git lfs track "*.iso" + + 3. The above stores this information in gitattributes(5) files, so + that file need to be added to the repository: + + $ git add .gitattributes + + 4. Commit, push and work with the files normally: + + $ git add file.iso + $ git commit -m "Add disk image" + $ git push Added: head/devel/git-lfs/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/git-lfs/pkg-plist Thu Nov 15 10:54:05 2018 (r485012) @@ -0,0 +1,31 @@ +bin/git-lfs +%%MANPAGES%%man/man1/git-lfs-checkout.1.gz +%%MANPAGES%%man/man1/git-lfs-clean.1.gz +%%MANPAGES%%man/man1/git-lfs-clone.1.gz +%%MANPAGES%%man/man1/git-lfs-env.1.gz +%%MANPAGES%%man/man1/git-lfs-ext.1.gz +%%MANPAGES%%man/man1/git-lfs-fetch.1.gz +%%MANPAGES%%man/man1/git-lfs-filter-process.1.gz +%%MANPAGES%%man/man1/git-lfs-fsck.1.gz +%%MANPAGES%%man/man1/git-lfs-install.1.gz +%%MANPAGES%%man/man1/git-lfs-lock.1.gz +%%MANPAGES%%man/man1/git-lfs-locks.1.gz +%%MANPAGES%%man/man1/git-lfs-logs.1.gz +%%MANPAGES%%man/man1/git-lfs-ls-files.1.gz +%%MANPAGES%%man/man1/git-lfs-migrate.1.gz +%%MANPAGES%%man/man1/git-lfs-pointer.1.gz +%%MANPAGES%%man/man1/git-lfs-post-checkout.1.gz +%%MANPAGES%%man/man1/git-lfs-post-merge.1.gz +%%MANPAGES%%man/man1/git-lfs-pre-push.1.gz +%%MANPAGES%%man/man1/git-lfs-prune.1.gz +%%MANPAGES%%man/man1/git-lfs-pull.1.gz +%%MANPAGES%%man/man1/git-lfs-push.1.gz +%%MANPAGES%%man/man1/git-lfs-smudge.1.gz +%%MANPAGES%%man/man1/git-lfs-status.1.gz +%%MANPAGES%%man/man1/git-lfs-track.1.gz +%%MANPAGES%%man/man1/git-lfs-uninstall.1.gz +%%MANPAGES%%man/man1/git-lfs-unlock.1.gz +%%MANPAGES%%man/man1/git-lfs-untrack.1.gz +%%MANPAGES%%man/man1/git-lfs-update.1.gz +%%MANPAGES%%man/man1/git-lfs.1.gz +%%MANPAGES%%man/man5/git-lfs-config.5.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811151054.wAFAs6XD084131>