pkgsrc/security/pinentry-qt4/Makefile
wiz 200e3c4a04 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00

47 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2010/09/14 11:02:42 wiz Exp $
#
DISTNAME= pinentry-0.8.0
PKGNAME= pinentry-qt4-0.8.0
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
COMMENT= Applications for entering PINs or Passphrases
PATCHDIR= ${.CURDIR}/../../security/pinentry/patches
DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --enable-pinentry-qt4
CONFIGURE_ARGS+= --with-qt-dir=${QTDIR:Q}
CONFIGURE_ARGS+= --with-qt-includes=${BUILDLINK_PREFIX.qt4-libs}/qt4/include
CONFIGURE_ARGS+= --with-qt-libraries=${BUILDLINK_PREFIX.qt4-libs}/qt4/lib
CONFIGURE_ARGS+= --disable-pinentry-curses
#CONFIGURE_ARGS+= --disable-fallback-curses
CONFIGURE_ARGS+= --disable-pinentry-gtk
CONFIGURE_ARGS+= --disable-pinentry-gtk2
CONFIGURE_ARGS+= --disable-pinentry-qt
USE_LANGUAGES+= c c++
USE_TOOLS+= pkg-config gmake
INFO_FILES= yes
INSTALL_DIRS= qt4
post-configure:
cd $(WRKSRC)/qt4 && \
$(QTDIR)/bin/moc pinentrydialog.h -o pinentrydialog.moc && \
$(QTDIR)/bin/moc qsecurelineedit.h -o qsecurelineedit.moc
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
#.include "../../security/libgpg-error/buildlink3.mk"
#.include "../../security/libksba/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"