2003-01-30 23:37:07 +01:00
|
|
|
# New ports collection makefile for: pinentry
|
|
|
|
# Date created: 29 Jan 2003
|
|
|
|
# Whom: michaelnottebrock@gmx.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pinentry
|
2004-05-03 21:22:04 +02:00
|
|
|
PORTVERSION= 0.7.1
|
2003-01-30 23:37:07 +01:00
|
|
|
CATEGORIES= security
|
2004-05-03 21:22:04 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
|
|
MASTER_SITE_SUBDIR= pinentry
|
2003-01-30 23:37:07 +01:00
|
|
|
|
2003-08-28 18:42:22 +02:00
|
|
|
MAINTAINER= lofi@freebsd.org
|
2004-05-03 21:22:04 +02:00
|
|
|
COMMENT?= A collection of simple PIN or passphrase entry dialogs
|
2003-01-30 23:37:07 +01:00
|
|
|
|
2004-05-03 21:22:04 +02:00
|
|
|
LIB_DEPENDS= gcrypt.12:${PORTSDIR}/security/libgcrypt \
|
2004-08-04 17:14:30 +02:00
|
|
|
ksba.13:${PORTSDIR}/security/libksba
|
2004-05-03 21:22:04 +02:00
|
|
|
|
|
|
|
CONFLICTS?= pinentry-qt* pinentry-gtk* pinentry-curses*
|
2003-01-30 23:37:07 +01:00
|
|
|
|
2003-07-14 04:53:03 +02:00
|
|
|
USE_GETOPT_LONG=yes
|
2004-05-04 12:49:48 +02:00
|
|
|
USE_ICONV= yes
|
2003-02-22 19:46:14 +01:00
|
|
|
WANT_GNOME= yes
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER=13
|
2003-01-30 23:37:07 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
USE_REINPLACE= yes
|
2003-08-28 18:42:22 +02:00
|
|
|
INFO= pinentry
|
2003-01-30 23:37:07 +01:00
|
|
|
|
2004-05-04 16:18:52 +02:00
|
|
|
CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE}
|
|
|
|
|
2004-05-03 21:22:04 +02:00
|
|
|
.if defined(PINENTRY_QT) || defined(PINENTRY_GTK) || defined(PINENTRY_CURSES)
|
|
|
|
.if defined(PINENTRY_QT)
|
2003-02-22 18:11:09 +01:00
|
|
|
USE_QT_VER= 3
|
|
|
|
PLIST_SUB+= WITH_QT=""
|
2003-02-08 06:50:58 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-pinentry-qt
|
2003-02-22 19:46:14 +01:00
|
|
|
PLIST_SUB+= WITH_QT="@comment "
|
2003-01-30 23:37:07 +01:00
|
|
|
.endif
|
|
|
|
|
2004-05-03 21:22:04 +02:00
|
|
|
.if defined(PINENTRY_GTK)
|
2003-02-22 18:11:09 +01:00
|
|
|
USE_GNOME+= gtk12
|
2003-02-22 19:46:14 +01:00
|
|
|
PLIST_SUB+= WITH_GTK=""
|
2003-02-22 18:11:09 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-pinentry-gtk
|
2003-02-22 19:46:14 +01:00
|
|
|
PLIST_SUB+= WITH_GTK="@comment "
|
2003-01-30 23:37:07 +01:00
|
|
|
.endif
|
|
|
|
|
2004-05-03 21:22:04 +02:00
|
|
|
.if defined(PINENTRY_CURSES)
|
|
|
|
PLIST_SUB+= WITH_CURSES=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-pinentry-curses
|
|
|
|
PLIST_SUB+= WITH_CURSES="@comment "
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
USE_QT_VER= 3
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
PLIST_SUB+= WITH_QT=""
|
|
|
|
PLIST_SUB+= WITH_GTK=""
|
|
|
|
PLIST_SUB+= WITH_CURSES=""
|
|
|
|
.endif
|
2003-01-30 23:37:07 +01:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" \
|
|
|
|
${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
|
|
|
|
|
2004-05-03 21:22:04 +02:00
|
|
|
.include <bsd.port.mk>
|