blob: ab2b2d4ca58a5e8ce5e9b4f222ce244c1764a852 (
plain)
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
|
# $NetBSD: Makefile,v 1.45 2022/02/13 19:24:30 bsiegert Exp $
DISTNAME= git-lfs-2.13.3
PKGREVISION= 11
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=git-lfs/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://git-lfs.github.com/
COMMENT= Git extension for versioning large files
LICENSE= mit
NO_CONFIGURE= yes
USE_LANGUAGES= c
GO_BUILD_PATTERN= .
pre-build:
cp ${WRKSRC}/lfshttp/certs_openbsd.go ${WRKSRC}/lfshttp/certs_netbsd.go
# generate content for "git-lfs --help"
ln -sf ${GO} ${BUILDLINK_DIR}/bin/go
cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} \
GOPATH=${WRKDIR}/.gopath ${GO} generate ./commands
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
|