2007-12-02 14:04:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2007/12/02 13:04:08 wiz Exp $
|
2002-12-04 19:48:09 +01:00
|
|
|
#
|
|
|
|
|
2006-03-02 20:19:43 +01:00
|
|
|
DISTNAME= metakit-2.4.9.5
|
2006-02-16 19:13:48 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= databases python
|
2006-02-16 19:13:48 +01:00
|
|
|
MASTER_SITES= http://www.equi4.com/pub/mk/ \
|
|
|
|
http://www.equi4.com/pub/mk/older/
|
2002-12-04 19:48:09 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-12-02 14:04:06 +01:00
|
|
|
HOMEPAGE= http://www.equi4.com/metakit/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Embedded database library
|
2002-12-04 19:48:09 +01:00
|
|
|
|
2006-03-02 20:19:43 +01:00
|
|
|
PATCHDIR= ${.CURDIR}/../metakit-lib/patches
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../metakit-lib/distinfo
|
2002-12-04 19:48:09 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-03-02 20:19:43 +01:00
|
|
|
CONFIGURE_DIRS= builds
|
2002-12-04 19:48:09 +01:00
|
|
|
CONFIGURE_SCRIPT= ../unix/configure
|
2004-04-16 17:39:26 +02:00
|
|
|
CONFIGURE_ARGS+= --with-python=${LOCALBASE}/${PYINC},${LOCALBASE}/${PYSITELIB}
|
2006-05-10 16:31:08 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2002-12-04 19:48:09 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= python
|
2002-12-04 19:48:09 +01:00
|
|
|
INSTALL_TARGET= install-python
|
|
|
|
MAKE_ENV+= PYINC=${LOCALBASE}/${PYINC} PYSITELIB=${LOCALBASE}/${PYSITELIB}
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
|
2006-02-16 19:13:48 +01:00
|
|
|
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
|
|
|
|
|
|
|
|
post-build:
|
2006-03-02 20:19:43 +01:00
|
|
|
cd ${WRKSRC}/python && ${PYTHONBIN} ${PYCOMPILEALL} .
|
2006-02-16 19:13:48 +01:00
|
|
|
|
|
|
|
post-install:
|
2006-03-02 20:19:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/python/metakit.pyc ${PREFIX}/${PYSITELIB}
|
2006-02-16 19:13:48 +01:00
|
|
|
|
2004-04-25 15:50:10 +02:00
|
|
|
.include "../../databases/metakit-lib/buildlink3.mk"
|
2002-12-04 19:48:09 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
2006-05-10 16:31:08 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2002-12-04 19:48:09 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|