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-pysqlite20 | |
parent | bcdef31e3615186c4e01e53fe3001b893ea09c5c (diff) | |
download | ports-026711f634d31d3b40eaa6360525e46fad9debe9.tar.gz ports-026711f634d31d3b40eaa6360525e46fad9debe9.zip |
Notes
Diffstat (limited to 'databases/py-pysqlite20')
-rw-r--r-- | databases/py-pysqlite20/Makefile | 12 |
1 files changed, 9 insertions, 3 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: |