freebsd-ports/security/spass/Makefile
Kai Knoblich 086c997437 security/spass{-qt5}: Update to 3.2
* Introduce security/spass-qt5 as a slave port that contains only the GUI
  version which was added with the 3.1 release.

* Use the latest commit d38d173 to make use of the WITH_GUI boolean flag
  that enables the GUI/CLI-only build.

Changelog since 3.0:

* Minor tweaks for the CLI version
* Additional Qt5 GUI version

PR:		238621
Submitted by:	Thomas Merkel <tm@NetBSD.org> (initial patch)
Reviewed by:	mat (portmgr, to determine if FLAVORS can be used or not)
Differential Revision:	https://reviews.freebsd.org/D21084
2019-09-02 11:52:44 +00:00

31 lines
690 B
Makefile

# $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>