summaryrefslogtreecommitdiff
path: root/misc/cryptoballot/Makefile
blob: 93511bff340be491c62600a664045b3629b5ea24 (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
34
35
36
PORTNAME=	cryptoballot
DISTVERSION=	g20181015
PORTREVISION=	22
CATEGORIES=	misc

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Cryptographically secure online voting
WWW=		https://cryptoballot.com

LICENSE=	AGPLv3

USES=		go

USE_GITHUB=	yes
GH_TAGNAME=	3753e1b
GH_TUPLE=	${PORTNAME}:entropychecker:188ae6c:entropychecker/vendor/github.com/${PORTNAME}/entropychecker \
		${PORTNAME}:fdh:5eb31ce:fdh/vendor/github.com/${PORTNAME}/fdh \
		${PORTNAME}:rsablind:14f9913:rsablind/vendor/github.com/${PORTNAME}/rsablind \
		urfave:cli:v1.20.0:cli/vendor/github.com/urfave/cli \
		phayes:decryptpem:7e4f5bc:decryptpem/vendor/github.com/phayes/decryptpem \
		phayes:errors:ad407e6:errors/vendor/github.com/phayes/errors \
		dlintw:goconf:dcc0709:goconf/vendor/github.com/dlintw/goconf \
		Sam-Izdat:govote:7d55c89:govote/vendor/github.com/Sam-Izdat/govote \
		lib:pq:88edab0:pq/vendor/github.com/lib/pq \
		golang:crypto:650f4a3:crypto/vendor/golang.org/x/crypto \
		golang:sys:v0.6.0:sys/vendor/golang.org/x/sys
GH_SUBDIR=	src/github.com/${PORTNAME}/${PORTNAME}

GO_TARGET=	./servers/ballotbox ./servers/electionclerk \
		./utils/cryptoballot \
		./utils/cryptoballot-getid ./utils/cryptoballot-public-key \
		./utils/cryptoballot-sign ./utils/cryptoballot-signature-request

PLIST_FILES=	${GO_TARGET:C/.*\//bin\//}

.include <bsd.port.mk>