This is mainly a maintenance release to support new options in dirmngr (to be released soon): * [gpgsm] New option --prefer-system-dirmngr. * Minor cleanups and debugging aids.
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2004/12/03 22:01:29 shannonjr Exp $
|
|
#
|
|
|
|
DISTNAME= gnupg-1.9.13
|
|
PKGNAME= ${DISTNAME:S/gnupg/gnupg-devel/}
|
|
#PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
|
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
|
HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
|
|
COMMENT= Utility programs that come with GnuPG 1.9 (experimental branch)
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK3= yes
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
CONFIGURE_ARGS+= --with-static-rnd=auto
|
|
CONFIGURE_ARGS+= --without-included-gettext
|
|
|
|
TEST_TARGET= check
|
|
|
|
# XXX It looks like that gpgsm support could be splitted in its own package,
|
|
# according to the configure script. If that's true, this use of the options
|
|
# framework is incorrect and should be fixed.
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gnupg2
|
|
PKG_SUPPORTED_OPTIONS= gpgsm
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
## If no options are specified, only gpg-agent is built. This
|
|
## is sufficient for OpenPGP/MIME support in Kmail
|
|
## SMIME support is provided by gpgsm. This support is
|
|
## in the alpha stage of development.
|
|
PLIST_SRC= ${.CURDIR}/PLIST
|
|
.if empty(PKG_OPTIONS:Mgpgsm)
|
|
CONFIGURE_ARGS+= --enable-agent-only
|
|
.else
|
|
PLIST_SRC+= ${.CURDIR}/PLIST.gpgsm
|
|
. include "../../security/dirmngr/buildlink3.mk"
|
|
.endif
|
|
|
|
# This package will only build with pth
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.if ${PTHREAD_TYPE} == "native"
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
.endif
|
|
|
|
BUILDLINK_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/libassuan/buildlink3.mk"
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
.include "../../security/libgpg-error/buildlink3.mk"
|
|
.include "../../security/libksba/buildlink3.mk"
|
|
.include "../../security/pinentry/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|