2011-05-05 10:55:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.35 2011/05/05 08:55:23 adam Exp $
|
2006-11-17 13:13:11 +01:00
|
|
|
|
2011-01-20 09:54:56 +01:00
|
|
|
DISTNAME= gnupg-2.0.17
|
|
|
|
PKGNAME= ${DISTNAME:S/gnupg/gnupg2/}
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 1
|
2011-01-20 09:54:56 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2006-11-17 13:13:11 +01:00
|
|
|
|
2011-01-20 09:54:56 +01:00
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.gnupg.org/
|
|
|
|
COMMENT= GNUpg with OpenPGP and S/MIME capabilities
|
|
|
|
LICENSE= gnu-gpl-v3
|
2006-11-17 13:13:11 +01:00
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2008-06-20 03:09:05 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2006-11-17 13:13:11 +01:00
|
|
|
|
2006-11-20 23:23:24 +01:00
|
|
|
INFO_FILES= yes
|
2006-11-17 13:13:11 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2011-01-20 09:54:56 +01:00
|
|
|
USE_TOOLS+= gmake
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE}
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2006-11-17 13:13:11 +01:00
|
|
|
CONFIGURE_ARGS+= --with-static-rnd=auto
|
|
|
|
CONFIGURE_ARGS+= --without-included-gettext
|
2007-11-07 16:24:26 +01:00
|
|
|
CONFIGURE_ARGS+= --with-pinentry-pgm=${BUILDLINK_PREFIX.pinentry}/bin/pinentry
|
2011-05-05 10:55:23 +02:00
|
|
|
|
|
|
|
# Sometimes wrong include file gets detected, e.g. for Clang
|
|
|
|
.if exists(/usr/include/stdint.h)
|
|
|
|
CONFIGURE_ENV+= gl_cv_absolute_stdint_h=/usr/include/stdint.h
|
|
|
|
.endif
|
2006-11-17 13:13:11 +01:00
|
|
|
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
2007-08-30 01:19:06 +02:00
|
|
|
.include "options.mk"
|
2006-11-17 13:13:11 +01:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.4
|
2007-08-04 14:00:02 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libksba+= libksba>=1.0.2
|
2006-11-17 13:13:11 +01:00
|
|
|
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2011-01-20 09:54:56 +01:00
|
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
2006-11-17 13:13:11 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2011-01-20 09:54:56 +01:00
|
|
|
.include "../../devel/pth/buildlink3.mk"
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
2006-11-17 13:13:11 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2011-01-20 09:54:56 +01:00
|
|
|
.include "../../security/libassuan2/buildlink3.mk"
|
2006-11-17 13:13:11 +01:00
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
|
|
.include "../../security/libgpg-error/buildlink3.mk"
|
|
|
|
.include "../../security/libksba/buildlink3.mk"
|
|
|
|
.include "../../security/pinentry/buildlink3.mk"
|
2011-01-20 09:54:56 +01:00
|
|
|
.include "../../www/curl/buildlink3.mk"
|
2006-11-17 13:13:11 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|