summaryrefslogtreecommitdiff
path: root/security/gnupg/Makefile
blob: e6f3a835e38a382febb99299f46f87c4608ddc0d (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
# $NetBSD: Makefile,v 1.7 2000/03/02 08:21:31 wiz Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp
#

DISTNAME=	gnupg-1.0.1
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.gnupg.org/pub/gcrypt/gnupg/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} gpg.1.gz

MAINTAINER=	packages@NetBSD.ORG
HOMEPAGE=	http://www.gnupg.org/

DEPENDS+=	gettext-0.10.*:../../devel/gettext

USE_GMAKE=	yes

GNU_CONFIGURE=	yes

RESTRICTED=	"Cryptographic software"
MIRROR_DISTFILE=no

.include "../../mk/bsd.prefs.mk"

EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

.if ${OPSYS} == "SunOS"
DEPENDS+=	zlib-1.1.3:../../devel/zlib
LDFLAGS+=	-L${LOCALBASE}/lib
.endif

pre-configure:
	${GUNZIP_CMD} -c ${DISTDIR}/gpg.1.gz > ${WRKSRC}/doc/gpg.1

.include "../../mk/bsd.pkg.mk"