aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-02-12 11:44:45 +0800
committermnag <mnag@FreeBSD.org>2006-02-12 11:44:45 +0800
commit0a11f98c87ab4ba7933da11f34c6fa57c5503c40 (patch)
tree9ab0f48e56449609964cff11addb60973f261332 /databases
parentade0897c3fb5763d653d8e7471e72e38682b8c29 (diff)
downloadfreebsd-ports-gnome-0a11f98c87ab4ba7933da11f34c6fa57c5503c40.tar.gz
freebsd-ports-gnome-0a11f98c87ab4ba7933da11f34c6fa57c5503c40.tar.zst
freebsd-ports-gnome-0a11f98c87ab4ba7933da11f34c6fa57c5503c40.zip
- Temporary disable build of html docs.
- Fix NOPORTDOCS build. - Bump PORTREVISION Reported by: Tobias Roth <roth@iam.unibe.ch>, Al Arzaga <freebsd@arzaga.net>
Diffstat (limited to 'databases')
-rw-r--r--databases/py-pysqlite20/Makefile12
-rw-r--r--databases/py-pysqlite21/Makefile12
-rw-r--r--databases/py-pysqlite22/Makefile12
-rw-r--r--databases/py-pysqlite23/Makefile12
4 files changed, 36 insertions, 12 deletions
diff --git a/databases/py-pysqlite20/Makefile b/databases/py-pysqlite20/Makefile
index 87b35d063039..0c5ce47733dd 100644
--- a/databases/py-pysqlite20/Makefile
+++ b/databases/py-pysqlite20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pysqlite
PORTVERSION= 2.0.7
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${PORTVERSION:C/\.[0-9]$//}/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
@@ -30,12 +31,17 @@ DOCSDIR= ${PREFIX}/${DOCSBASE}
PORTDOCS= *
-pre-configure:
+post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e "s|pysqlite2-doc|${DOCSBASE}|" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
+ -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -e "s|data_files = data_files,||" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ -e "s|data_files = \[.*|data_files = []|" \
+ -e "s|.*glob.glob\(.*\).*||" \
+ -e "s|.*pysqlite2-doc/code.*||" \
+ ${WRKSRC}/setup.py
.endif
post-install:
diff --git a/databases/py-pysqlite21/Makefile b/databases/py-pysqlite21/Makefile
index 0708e62e6277..67acc1a930eb 100644
--- a/databases/py-pysqlite21/Makefile
+++ b/databases/py-pysqlite21/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pysqlite
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${PORTVERSION:C/\.[0-9]$//}/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
@@ -28,12 +29,17 @@ DOCSDIR= ${PREFIX}/${DOCSBASE}
PORTDOCS= *
-pre-configure:
+post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e "s|pysqlite2-doc|${DOCSBASE}|" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
+ -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -e "s|data_files = data_files,||" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ -e "s|data_files = \[.*|data_files = []|" \
+ -e "s|.*glob.glob\(.*\).*||" \
+ -e "s|.*pysqlite2-doc/code.*||" \
+ ${WRKSRC}/setup.py
.endif
post-install:
diff --git a/databases/py-pysqlite22/Makefile b/databases/py-pysqlite22/Makefile
index 0708e62e6277..67acc1a930eb 100644
--- a/databases/py-pysqlite22/Makefile
+++ b/databases/py-pysqlite22/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pysqlite
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${PORTVERSION:C/\.[0-9]$//}/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
@@ -28,12 +29,17 @@ DOCSDIR= ${PREFIX}/${DOCSBASE}
PORTDOCS= *
-pre-configure:
+post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e "s|pysqlite2-doc|${DOCSBASE}|" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
+ -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -e "s|data_files = data_files,||" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ -e "s|data_files = \[.*|data_files = []|" \
+ -e "s|.*glob.glob\(.*\).*||" \
+ -e "s|.*pysqlite2-doc/code.*||" \
+ ${WRKSRC}/setup.py
.endif
post-install:
diff --git a/databases/py-pysqlite23/Makefile b/databases/py-pysqlite23/Makefile
index 0708e62e6277..67acc1a930eb 100644
--- a/databases/py-pysqlite23/Makefile
+++ b/databases/py-pysqlite23/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pysqlite
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${PORTVERSION:C/\.[0-9]$//}/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
@@ -28,12 +29,17 @@ DOCSDIR= ${PREFIX}/${DOCSBASE}
PORTDOCS= *
-pre-configure:
+post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
.if !defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e "s|pysqlite2-doc|${DOCSBASE}|" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
+ -e "s|.*build_docs\(\)\$$||" ${WRKSRC}/setup.py
.else
- @${REINPLACE_CMD} -e "s|data_files = data_files,||" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E -e "s|.*build_docs\(\)\$$||" \
+ -e "s|data_files = \[.*|data_files = []|" \
+ -e "s|.*glob.glob\(.*\).*||" \
+ -e "s|.*pysqlite2-doc/code.*||" \
+ ${WRKSRC}/setup.py
.endif
post-install: