aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-bsddb3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-bsddb3/Makefile')
-rw-r--r--databases/py-bsddb3/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index 25a60ca43120..9e9945c9c459 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= bsddb3
-PORTVERSION= 4.5.0
+PORTVERSION= 4.7.6
CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= pybsddb
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@FreeBSD.org
@@ -26,14 +25,13 @@ PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-patch:
- ${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup.py
- ${REINPLACE_CMD} 's,<db\.h>,<${BDB_INCLUDE_DIR}/db.h>,' ${WRKSRC}/extsrc/_bsddb.c
+ ${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py
+ ${REINPLACE_CMD} 's,<db\.h>,<${BDB_INCLUDE_DIR}/db.h>,' ${WRKSRC}/Modules/bsddb.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC}/docs && ${FIND} . | \
- ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR})
+ (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.mk>