diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-03-03 11:41:38 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-03-03 11:41:38 +0000 |
commit | dbf0b2677f7fe3eeab0b27cc7460bf5f56f20ff4 (patch) | |
tree | 57bf08ffffe5829aed2b0d09d1f609ea3ad1c544 /databases/py-bsddb3/Makefile | |
parent | 873689157563e92dc9a04f185bf353b1fb1debab (diff) | |
download | ports-dbf0b2677f7fe3eeab0b27cc7460bf5f56f20ff4.tar.gz ports-dbf0b2677f7fe3eeab0b27cc7460bf5f56f20ff4.zip |
databases/py-bsddb3: remove local plist hack and support staging
- convert to using auto-generated packing list and remove NO_STAGE
- install docs into staging area uncoditionally
- remove local plist hack - it is now handled by bsd.python.mk
Approved by: portmgr (blanket)
Notes
Notes:
svn path=/head/; revision=346882
Diffstat (limited to 'databases/py-bsddb3/Makefile')
-rw-r--r-- | databases/py-bsddb3/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index 8e670b8b9dd7..1d4a192d8d5e 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -11,8 +11,10 @@ MAINTAINER= wen@FreeBSD.org COMMENT= Python extension module for BerkeleyDB 3 and 4 USE_BDB= 43+ -USE_PYTHON= yes +USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + PYDISTUTILS_CONFIGUREARGS=--libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE} PYDISTUTILS_BUILDARGS= --libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE} PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE} @@ -20,21 +22,12 @@ PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE} PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} -NO_STAGE= yes -.include <bsd.port.pre.mk> - post-patch: ${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 && ${COPYTREE_SHARE} \* ${DOCSDIR}) -.endif - -.if ${PYTHON_REL} >= 320 -.include "${FILESDIR}/py3k-fix-pkg-plist.inc" -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |