freebsd-ports/devel/git-lfs/Makefile
2020-02-04 13:38:26 +00:00

32 lines
698 B
Makefile

# $FreeBSD$
PORTNAME= git-lfs
DISTVERSIONPREFIX= v
DISTVERSION= 2.10.0
CATEGORIES= devel
MAINTAINER= egypcio@FreeBSD.org
COMMENT= Git extension for versioning large files
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= git:devel/git
USES= go:modules
USE_GITHUB= yes
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}/man/man1
${INSTALL_MAN} ${GO_WRKSRC}/docs/man/*.5 ${STAGEDIR}${LOCALBASE}/man/man5
.include <bsd.port.mk>