blob: bacdeb56f10539effee45c6f581243d96a1c7ea2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= git-lfs
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.2
PORTREVISION= 11
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}/man/man1
${INSTALL_MAN} ${GO_WRKSRC}/docs/man/*.5 ${STAGEDIR}${LOCALBASE}/man/man5
.include <bsd.port.mk>
|