mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
35 lines
867 B
Makefile
35 lines
867 B
Makefile
PORTNAME= git-lfs
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.0.2
|
|
PORTREVISION= 23
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= egypcio@FreeBSD.org
|
|
COMMENT= Git extension for versioning large files
|
|
WWW= https://git-lfs.github.com/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
RUN_DEPENDS= git:devel/git
|
|
|
|
USES= go:modules
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
OPTIONS_DEFINE= MANPAGES
|
|
OPTIONS_DEFAULT= MANPAGES
|
|
OPTIONS_SUB= yes
|
|
|
|
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}/share/man/man1
|
|
${INSTALL_MAN} ${GO_WRKSRC}/docs/man/*.5 ${STAGEDIR}${LOCALBASE}/share/man/man5
|
|
|
|
.include <bsd.port.mk>
|