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/py-pysqlite23 | |
parent | bcdef31e3615186c4e01e53fe3001b893ea09c5c (diff) | |
download | ports-026711f634d31d3b40eaa6360525e46fad9debe9.tar.gz ports-026711f634d31d3b40eaa6360525e46fad9debe9.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>
Notes
Notes:
svn path=/head/; revision=155812
Diffstat (limited to 'databases/py-pysqlite23')
-rw-r--r-- | databases/py-pysqlite23/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
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: |