2012-10-03 08:02:24 +02:00
|
|
|
# Created by: Hye-Shik Chang <perky@FreeBSD.org>
|
2003-07-31 22:03:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bsddb
|
|
|
|
PORTVERSION= ${PYTHON_PORTVERSION}
|
2014-08-22 00:50:29 +02:00
|
|
|
PORTREVISION= 5
|
2003-07-31 22:03:51 +02:00
|
|
|
CATEGORIES= databases python
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
|
2003-07-31 22:03:51 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2014-08-09 17:44:27 +02:00
|
|
|
DISTNAME= Python-${PORTVERSION}
|
2003-07-31 22:03:51 +02:00
|
|
|
|
2013-03-01 21:12:01 +01:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
|
|
COMMENT= Standard Python bindings to the Berkeley DB library
|
2003-07-31 22:03:51 +02:00
|
|
|
|
2014-04-11 10:25:04 +02:00
|
|
|
LICENSE= PSFL
|
|
|
|
|
2013-09-07 19:21:44 +02:00
|
|
|
PORTSCOUT= ignore:1
|
|
|
|
|
2014-10-19 10:50:17 +02:00
|
|
|
USE_PYTHON= distutils autoplist
|
2017-11-30 16:50:30 +01:00
|
|
|
USES= bdb python:2.7 tar:xz
|
2013-03-01 21:12:01 +01:00
|
|
|
|
2006-04-22 06:39:05 +02:00
|
|
|
DIST_SUBDIR= python
|
2010-10-28 23:00:21 +02:00
|
|
|
DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
|
2014-08-09 17:44:27 +02:00
|
|
|
WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Modules
|
2013-03-01 21:12:01 +01:00
|
|
|
|
|
|
|
PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload
|
|
|
|
|
2006-04-22 06:39:05 +02:00
|
|
|
MAKE_ENV= BSDDB_VERSION=${BDB_LIB_NAME}
|
2003-07-31 22:03:51 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/setup.py ${WRKSRC}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e \
|
2006-04-22 06:39:05 +02:00
|
|
|
's,^\(#include.*\)\(db\.h.*\)$$,\1${BDB_INCLUDE_DIR}/\2,' \
|
2012-10-03 08:02:24 +02:00
|
|
|
${WRKSRC}/bsddb.h
|
2003-07-31 22:03:51 +02:00
|
|
|
|
2017-11-30 16:50:30 +01:00
|
|
|
.include <bsd.port.mk>
|