eef1b41cb1
otherwise selection of the right python version might fail, fixes problem reported by Jesse Peterson in pkgsrc-users
20 lines
490 B
Makefile
20 lines
490 B
Makefile
# $NetBSD: Makefile,v 1.8 2006/10/24 11:06:40 drochner Exp $
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
|
|
.include "../../www/clearsilver/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --enable-python
|
|
CONFIGURE_ARGS+= --with-python=${PYTHONBIN:Q}
|
|
|
|
MAKE_FLAGS+= PYTHON_SITE=${LOCALBASE}/${PYSITELIB}
|
|
|
|
INSTALL_DIRS= ${WRKSRC}/python
|
|
|
|
PY_PATCHPLIST= YES
|
|
PYBINMODULE= YES
|
|
PYTHON_VERSIONS_ACCEPTED= 24 23 22 21
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|