Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / botan / Makefile
blob49e1d7a1c73e31701330aaa47d6a8cf705564364
1 # $NetBSD: Makefile,v 1.28 2013/01/12 20:52:27 riz Exp $
3 DISTNAME= Botan-1.8.14
4 PKGNAME= ${DISTNAME:tl}
5 CATEGORIES= security
6 MASTER_SITES= http://files.randombit.net/botan/archive/v1.8/
7 EXTRACT_SUFX= .tgz
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://botan.randombit.net/
11 COMMENT= Portable, easy to use, and efficient C++ crypto library
12 LICENSE= modified-bsd
14 HAS_CONFIGURE= yes
15 USE_LANGUAGES= c++
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"
30 PLIST.x86_64= yes
31 PLIST.x86= yes
32 .elif ${MACHINE_ARCH} == "i386"
33 CONFIGURE_ARGS+= --cpu=i386
34 PLIST.i386= yes
35 PLIST.x86= yes
36 .elif ${MACHINE_ARCH} == "powerpc"
37 CONFIGURE_ARGS+= --cpu=ppc
38 PLIST.ppc= yes
39 .elif ${MACHINE_ARCH} == "powerpc64"
40 CONFIGURE_ARGS+= --cpu=ppc64
41 PLIST.ppc= yes
42 .elif ${MACHINE_ARCH} == "arm"
43 CONFIGURE_ARGS+= --cpu=arm
44 PLIST.arm= yes
45 .endif
47 .include "../../lang/python/application.mk"
48 .include "../../mk/bsd.pkg.mk"