pkgsrc/databases/py-metakit/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2014/01/25 10:29:59 wiz Exp $
DISTNAME= metakit-2.4.9.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= http://www.equi4.com/pub/mk/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.equi4.com/metakit/
COMMENT= Embedded database library
PATCHDIR= ${.CURDIR}/../metakit-lib/patches
DISTINFO_FILE= ${.CURDIR}/../metakit-lib/distinfo
GNU_CONFIGURE= yes
CONFIGURE_DIRS= builds
CONFIGURE_SCRIPT= ../unix/configure
CONFIGURE_ARGS+= --with-python=${LOCALBASE}/${PYINC},${LOCALBASE}/${PYSITELIB}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
BUILD_TARGET= python
INSTALL_TARGET= install-python
MAKE_ENV+= PYINC=${LOCALBASE}/${PYINC} PYSITELIB=${LOCALBASE}/${PYSITELIB}
PY_PATCHPLIST= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.4.9.7
INSTALLATION_DIRS+= ${PYSITELIB}
post-build:
cd ${WRKSRC}/python && ${PY_COMPILE_ALL} .
post-install:
${INSTALL_DATA} ${WRKSRC}/python/metakit.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
.include "../../databases/metakit-lib/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"