summaryrefslogtreecommitdiff
path: root/security/botan/Makefile
blob: 0626ef599a7fe204e604b9abc83f1f1c090279d8 (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
# $NetBSD: Makefile,v 1.7 2007/02/22 19:30:06 wiz Exp $

DISTNAME=	Botan-1.4.11
PKGNAME=	botan-1.4.11
PKGREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://files.randombit.net/botan/
EXTRACT_SUFX=	.tbz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://botan.randombit.net/
COMMENT=	Portable, easy to use, and efficient C++ crypto library

BROKEN_IN=		pkgsrc-2006Q4

USE_TOOLS+=	perl

USE_LANGUAGES=	c++
REPLACE_PERL+=	./configure.pl
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=	./configure.pl
CONFIGURE_ARGS+=	--prefix=${PREFIX:Q}

MAKE_FLAGS+=	INSTALL_CMD_EXEC=${INSTALL_PROGRAM:Q}
MAKE_FLAGS+=	INSTALL_CMD_DATA=${INSTALL_DATA:Q}
MAKE_FLAGS+=	LIB_OPT=${CXXFLAGS:Q}

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

.if ${OPSYS} == "DragonFly"
CXXFLAGS+=	-D_DRAGONFLY_SOURCE
.endif


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