summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/pinentry-tqt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/pinentry-tqt/Makefile')
-rw-r--r--freebsd/dependencies/pinentry-tqt/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/freebsd/dependencies/pinentry-tqt/Makefile b/freebsd/dependencies/pinentry-tqt/Makefile
new file mode 100644
index 000000000..895ad413a
--- /dev/null
+++ b/freebsd/dependencies/pinentry-tqt/Makefile
@@ -0,0 +1,46 @@
+# Created by: Michael Nottebrock <lofi@FreeBSD.org>
+# $FreeBSD: head/security/pinentry/Makefile 517058 2019-11-08 13:17:00Z tobik $
+#
+# TDE port map: dependencies/pinentry-tqt > security/pinentry-tqt
+
+PORTNAME= pinentry
+PORTVERSION= 1.2.1
+PORTREVISION?= 0.2
+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+= iconv localbase ncurses pkgconfig
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-pinentry-emacs
+LDFLAGS+= -Wl,--as-needed
+
+
+LIB_DEPENDS= libtqt.so:x11-toolkits/libtqtinterface
+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>