blob: 3ecdc1952f81148cb90f142db0d1a92ed8d0d4f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.122 2013/10/26 23:30:29 wiz Exp $
DISTNAME= gnupg-1.4.15
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \
http://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \
ftp://ftp.jyu.fi/pub/crypt/gcrypt/gnupg/ \
ftp://ftp.ring.gr.jp/pub/net/gnupg/gnupg/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.gnupg.org/
COMMENT= GNU Privacy Guard, public-Key encryption and digital signatures
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
CRYPTO= yes
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail
TEST_TARGET= check
INFO_FILES= yes
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.include "options.mk"
.if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*))
CONFIGURE_ARGS+= --disable-gnupg-iconv
.endif
.if (${OPSYS} == "AIX" || ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS") \
&& defined(ABI) && ${ABI} == 64
CONFIGURE_ARGS+= --disable-asm
.endif
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/DETAILS \
${DESTDIR}${PREFIX}/share/gnupg
.include "../../devel/readline/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|