1 # $NetBSD: Makefile,v 1.28 2013/01/12 20:52:27 riz Exp $
4 PKGNAME
= ${DISTNAME
:tl
}
6 MASTER_SITES
= http
://files.randombit.net
/botan
/archive
/v1.8
/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://botan.randombit.net
/
11 COMMENT
= Portable
, easy to use
, and efficient C
++ crypto library
17 PYTHON_FOR_BUILD_ONLY
= yes
19 CONFIG_SHELL
= ${PYTHONBIN}
20 CONFIGURE_SCRIPT
= .
/configure.py
21 CONFIGURE_ARGS
+= --prefix=${PREFIX}
23 MAKE_FLAGS
+= LIB_OPT
=${CXXFLAGS
:Q
}
25 .
include "../../mk/bsd.prefs.mk"
27 PLIST_VARS
+= i386 x86 x86_64 ppc arm
29 .if
${MACHINE_ARCH} == "x86_64"
32 .elif
${MACHINE_ARCH} == "i386"
33 CONFIGURE_ARGS
+= --cpu
=i386
36 .elif
${MACHINE_ARCH} == "powerpc"
37 CONFIGURE_ARGS
+= --cpu
=ppc
39 .elif
${MACHINE_ARCH} == "powerpc64"
40 CONFIGURE_ARGS
+= --cpu
=ppc64
42 .elif
${MACHINE_ARCH} == "arm"
43 CONFIGURE_ARGS
+= --cpu
=arm
47 .
include "../../lang/python/application.mk"
48 .
include "../../mk/bsd.pkg.mk"