bb92d7e80e
This is necessary when one only includes extension.mk and not distutils.mk or egg.mk.
32 lines
808 B
Makefile
32 lines
808 B
Makefile
# $NetBSD: Makefile,v 1.2 2015/11/19 14:37:21 wiz Exp $
|
|
|
|
.include "../../devel/radare2/Makefile.common"
|
|
|
|
DISTNAME= radare2-bindings-${RADARE2_VERSION}
|
|
PKGNAME= ${PYPKGPREFIX}-radare2-${RADARE2_VERSION}
|
|
CATEGORIES= devel
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= khorben@defora.org
|
|
COMMENT= Reverse engineering framework (Python bindings)
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_LANGUAGES+= c c++
|
|
USE_TOOLS+= gmake
|
|
USE_TOOLS+= pkg-config
|
|
|
|
BUILD_DEPENDS+= radare2-valabind-[0-9]*:../../devel/radare2-valabind
|
|
BUILD_DEPENDS+= swig2-[0-9]*:../../devel/swig2
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--enable=python
|
|
|
|
MAKE_ENV+= PYTHON_CONFIG=${PYTHONCONFIG}
|
|
MAKE_ENV+= SWIG=swig2.0
|
|
PY_PATCHPLIST= yes
|
|
|
|
BUILD_DIRS= python
|
|
|
|
.include "../../devel/radare2/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|