summaryrefslogtreecommitdiff
path: root/security/tang/Makefile
blob: 07c203503ed8d38247e9646a8fd306dc909e2588 (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
PORTNAME=	tang
DISTVERSION=	15
CATEGORIES=	security
MASTER_SITES=	https://github.com/latchset/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER=	hdholm@alumni.iastate.edu
COMMENT=	Tang is a small daemon for binding data to the presence of a network
WWW=		https://github.com/latchset/tang

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS= 	libllhttp.so:www/llhttp \
		libjansson.so:devel/jansson \
		libjose.so:net/jose
BUILD_DEPENDS=	a2x:textproc/asciidoc \
		${LOCALBASE}/libdata/pkgconfig/jose.pc:net/jose \
		socat:net/socat \
		curl:ftp/curl

USES=		compiler:c11 cpe meson pkgconfig tar:xz

CPE_VENDOR=	tang_project

post-install:
	${MKDIR} -m 0700 ${STAGEDIR}/var/db/tang

.include <bsd.port.mk>