summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/pinentry-tqt/Makefile
blob: 0536a24de437e463a0d5d8bd489f8d959569d57f (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
37
38
39
40
41
42
43
44
# Created by: Michael Nottebrock <lofi@FreeBSD.org>
# $FreeBSD: head/security/pinentry/Makefile 517058 2019-11-08 13:17:00Z tobik $

PORTNAME=	pinentry
PORTVERSION=	1.1.0
PORTREVISION?=	6
CATEGORIES=	security
MASTER_SITES=	GNUPG/pinentry

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	TQt version of the GnuPG password dialog

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

USES=		tar:bzip2

PINENTRY_GUI=	tqt

PKGNAMESUFFIX=	-${PINENTRY_GUI}
LIB_DEPENDS=	libassuan.so:security/libassuan \
		libgpg-error.so:security/libgpg-error

USES+=		gmake iconv localbase ncurses pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-pinentry-emacs
LDFLAGS+=	-Wl,--as-needed


LIB_DEPENDS=	libtqt.so:x11/trinity/dependencies/tqtinterface
PLIST_FILES=	bin/pinentry-tqt
CONFIGURE_ARGS+=--enable-pinentry-tqt --disable-libsecret
CONFIGURE_ARGS+=--disable-pinentry-qt --disable-pinentry-qt5
CONFIGURE_ARGS+=--disable-pinentry-gnome3
CONFIGURE_ARGS+=--disable-pinentry-gtk2
CONFIGURE_ARGS+=--disable-pinentry-fltk
CONFIGURE_ARGS+=--disable-pinentry-curses
CONFIGURE_ARGS+=--disable-pinentry-tty

post-install:
	${RM} ${STAGEDIR}${PREFIX}/bin/pinentry \
		${STAGEDIR}${PREFIX}/share/info/pinentry.info

.include <bsd.port.mk>