summaryrefslogtreecommitdiff
path: root/databases/immudb/Makefile
blob: ba1fed5e1458c5cb2969ffbf1bd33ee34086ddee (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
29
30
31
32
33
PORTNAME=	immudb
DISTVERSIONPREFIX=	v
DISTVERSION=	1.5.0
PORTREVISION=	7
CATEGORIES=	databases net
PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}

PATCH_SITES=	https://github.com/codenotary/immudb/commit/
PATCHFILES=	0df15e08d84e89509499a84d1b5266b5612c0301.patch:-p1

MAINTAINER=	ronald@FreeBSD.org
COMMENT=	Database with built-in cryptographic proof and verification
WWW=		https://immudb.io/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	bash:shells/bash

USES=		gmake go:modules,no_targets
GO_MODULE=	github.com/codenotary/immudb

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' ${WRKSRC}/Makefile

do-install:
.for f in immuadmin immuclient immudb immutest
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}/${PREFIX}/bin/${f}
.endfor

.include <bsd.port.post.mk>