pkgsrc/security/botan-devel/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2015/05/20 21:57:10 joerg Exp $
DISTNAME= Botan-1.11.16
PKGNAME= ${DISTNAME:tl}
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://botan.randombit.net/
COMMENT= Portable, easy to use, and efficient C++ crypto library
LICENSE= 2-clause-bsd
HAS_CONFIGURE= yes
USE_LANGUAGES= c++
PYTHON_FOR_BUILD_ONLY= yes
CONFIG_SHELL= ${PYTHONBIN}
CONFIGURE_SCRIPT= ./configure.py
CONFIGURE_ARGS+= --prefix=${PREFIX} --with-zlib --with-boost --destdir=${DESTDIR}${PREFIX}
REPLACE_PYTHON+= *.py src/scripts/*.py
2014-03-05 22:22:38 +01:00
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CONFIGURE_ARGS+= --cc-bin=${CXX} --cc=clang
.endif
MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
USE_TOOLS+= gmake
PY_PATCHPLIST= yes
2014-05-21 03:22:14 +02:00
PLIST_VARS+= x86 x86_64
.if ${MACHINE_ARCH} == "x86_64"
PLIST.x86_64= yes
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "i386"
PLIST.x86= yes
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"