summaryrefslogtreecommitdiff
path: root/security/spass/Makefile
blob: 02b0b6eb7a2f3db546f74f0a42455df4b9862f4d (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
PORTNAME=	spass
DISTVERSIONPREFIX=	v
DISTVERSION=	3.2-5
DISTVERSIONSUFFIX=	-gd38d173
PORTREVISION=	11
CATEGORIES=	security

MAINTAINER=	ports@FreeBSD.org
COMMENT?=	Secure password generator with a true random number generator
WWW=		https://www.guyrutenberg.com/2010/08/13/statistical-tests-for-my-audio-based-random-number-generator/

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/include/boost/format.hpp:devel/boost-libs
LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs

USES+=		cmake compiler:c++11-lang
USE_GITHUB=	yes
GH_ACCOUNT=	guyru

CMAKE_ARGS=	-DWITH_ALSA:BOOL=off -DWITH_OSS:BOOL=on

PLIST_FILES?=	bin/spass

# Disable the Qt5 GUI if we build the master port
.if !defined(PKGNAMESUFFIX)
CMAKE_ARGS+=	-DWITH_GUI:BOOL=off
.endif

.include <bsd.port.mk>