aboutsummaryrefslogblamecommitdiff
path: root/security/libkleo/Makefile
blob: 0d96b0ca5616c6081fce5b0fd00a3c3206078f36 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                           
                                                                   


                                                                     
                                  

                                            
                                                  


                    

                               




                                                                   

                      
PORTNAME=	libkleo
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	security kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Certificate manager for KDE

LIB_DEPENDS=	libassuan.so:security/libassuan \
		libgpg-error.so:security/libgpg-error \
		libgpgme.so:security/gpgme \
		libqgpgme.so:security/gpgme-qt5 \
		libgpgmepp.so:security/gpgme-cpp
RUN_DEPENDS=	${LOCALBASE}/bin/gmd5sum:sysutils/coreutils


USES=		cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz
USE_KDE=	codecs completion config coreaddons i18n itemmodels \
		widgetsaddons windowsystem \
		pimtextedit
USE_QT=		core gui widgets \
		buildtools_build qmake_build

_CORETOOLS=	md5sum sha1sum sha256sum sha512sum

OPTIONS_DEFINE=	DOCS

post-extract:
# use the binaries of coreutils
.  for ct in ${_CORETOOLS}
	${REINPLACE_CMD} -e '/create-command/ s#${ct}#g${ct}#' \
			 -e '/verify-command/ s#${ct}#g${ct}#' \
			 ${PATCH_WRKSRC}/src/libkleopatrarc.desktop
.  endfor

.include <bsd.port.mk>