freebsd-ports/devel/git-lfs/Makefile
Dmitri Goutnik 34156e93e8 Go ports: cleanup, finish transition to USES=go started with r505321 (cat. audio-mail)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
- Switch to go:modules when upstream already uses them

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21741
2019-09-29 22:29:39 +00:00

34 lines
868 B
Makefile

# $FreeBSD$
PORTNAME= git-lfs
DISTVERSIONPREFIX= v
DISTVERSION= 2.8.0
CATEGORIES= devel
MAINTAINER= egypcio@FreeBSD.org
COMMENT= Git extension for versioning large files
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= go:modules
USE_GITHUB= yes
OPTIONS_DEFINE= GIT_SUBVERSION MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
GIT_SUBVERSION_DESC= Use 'git-subversion' instead of 'git' as backend
GIT_SUBVERSION_RUN_DEPENDS= git-subversion>0:devel/git-subversion
GIT_SUBVERSION_RUN_DEPENDS_OFF= git:devel/git
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>