summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-02-12 04:04:47 +0000
committermnag <mnag@FreeBSD.org>2006-02-12 04:04:47 +0000
commit4325b6842f510829ed909f76663eda9b37d74409 (patch)
treeb73d246928ab878f507a787357e254b67af6d6e7 /databases
parent47f42ef05f43cc2d7ced73fcc9e7b4f1e199156d (diff)
downloadFreeBSD-ports-4325b6842f510829ed909f76663eda9b37d74409.zip
FreeBSD-ports-4325b6842f510829ed909f76663eda9b37d74409.tar.gz
- Fix removing of build_docs
Diffstat (limited to 'databases')
-rw-r--r--databases/py-pysqlite21/Makefile5
-rw-r--r--databases/py-pysqlite22/Makefile5
-rw-r--r--databases/py-pysqlite23/Makefile5
3 files changed, 9 insertions, 6 deletions
diff --git a/databases/py-pysqlite21/Makefile b/databases/py-pysqlite21/Makefile
index 67acc1a..a72560e 100644
--- a/databases/py-pysqlite21/Makefile
+++ b/databases/py-pysqlite21/Makefile
@@ -33,9 +33,10 @@ post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
- -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
+ -e "s/.*(cmdclass|extras_require) =.*//" \
+ ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ @${REINPLACE_CMD} -E -e "s/.*(cmdclass|extras_require) =.*//" \
-e "s|data_files = \[.*|data_files = []|" \
-e "s|.*glob.glob\(.*\).*||" \
-e "s|.*pysqlite2-doc/code.*||" \
diff --git a/databases/py-pysqlite22/Makefile b/databases/py-pysqlite22/Makefile
index 67acc1a..a72560e 100644
--- a/databases/py-pysqlite22/Makefile
+++ b/databases/py-pysqlite22/Makefile
@@ -33,9 +33,10 @@ post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
- -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
+ -e "s/.*(cmdclass|extras_require) =.*//" \
+ ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ @${REINPLACE_CMD} -E -e "s/.*(cmdclass|extras_require) =.*//" \
-e "s|data_files = \[.*|data_files = []|" \
-e "s|.*glob.glob\(.*\).*||" \
-e "s|.*pysqlite2-doc/code.*||" \
diff --git a/databases/py-pysqlite23/Makefile b/databases/py-pysqlite23/Makefile
index 67acc1a..a72560e 100644
--- a/databases/py-pysqlite23/Makefile
+++ b/databases/py-pysqlite23/Makefile
@@ -33,9 +33,10 @@ post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
- -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
+ -e "s/.*(cmdclass|extras_require) =.*//" \
+ ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ @${REINPLACE_CMD} -E -e "s/.*(cmdclass|extras_require) =.*//" \
-e "s|data_files = \[.*|data_files = []|" \
-e "s|.*glob.glob\(.*\).*||" \
-e "s|.*pysqlite2-doc/code.*||" \
OpenPOWER on IntegriCloud