aboutsummaryrefslogtreecommitdiff
path: root/security/spass/Makefile
blob: 2917be3b98a2fd1d2b55f670f74106bb7a0d5a15 (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
# $FreeBSD$

PORTNAME=	spass
DISTVERSIONPREFIX=	v
DISTVERSION=	3.2-5
DISTVERSIONSUFFIX=	-gd38d173
CATEGORIES=	security

MAINTAINER=	ports@FreeBSD.org
COMMENT?=	Secure password generator with a true 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>