33 lines
945 B
Makefile
33 lines
945 B
Makefile
# $NetBSD: Makefile,v 1.14 2015/08/23 14:30:41 wiz Exp $
|
|
|
|
PKGNAME= libprelude-python-${VERSION}
|
|
PKGREVISION= 9
|
|
COMMENT= Python bindings to LibPrelude
|
|
|
|
.include "../../security/libprelude/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --with-python
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
PY_PATCHPLIST= yes
|
|
|
|
BUILD_DIRS= bindings/low-level/python bindings/python
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
|
|
PKG_SUPPORTED_OPTIONS= debug
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.9.24.1
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CFLAGS= -O0 -ggdb
|
|
.endif
|
|
|
|
.include "../../devel/libltdl/convenience.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../security/gnutls/libgnutls-config.mk"
|
|
.include "../../security/libprelude/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|