# $NetBSD: Makefile,v 1.29 2011/09/14 17:39:22 hans Exp $ # DISTNAME= pinentry-0.8.1 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 PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} INFO_FILES= yes .include "options.mk" .if defined(PINENTRY_DEFAULT) post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${LN} -sf pinentry-${PINENTRY_DEFAULT} pinentry .endif BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" .include "../../devel/ncurses/buildlink3.mk" .endif .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"