diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-02-12 03:44:45 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-02-12 03:44:45 +0000 |
commit | 026711f634d31d3b40eaa6360525e46fad9debe9 (patch) | |
tree | 01d1d0149f0211a4d2aa57f94399b5336f35eb93 /databases | |
parent | - Update to 0.4 (diff) |
- Temporary disable build of html docs.
- Fix NOPORTDOCS build.
- Bump PORTREVISION
Reported by: Tobias Roth <roth@iam.unibe.ch>, Al Arzaga <freebsd@arzaga.net>
Notes
Notes:
svn path=/head/; revision=155812
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-pysqlite20/Makefile | 12 | ||||
-rw-r--r-- | databases/py-pysqlite21/Makefile | 12 | ||||
-rw-r--r-- | databases/py-pysqlite22/Makefile | 12 | ||||
-rw-r--r-- | databases/py-pysqlite23/Makefile | 12 |
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: |