diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-03-13 23:25:19 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-03-13 23:25:19 +0000 |
commit | cb6027abfd6610647ffef12b987adbb6a9623b91 (patch) | |
tree | cee19d3d65312d8da1488f26d3e5fabcc9a26163 /databases/py-pysqlite22/Makefile | |
parent | da2c5e128c30a77690a2ea831742a8d72422369b (diff) | |
download | ports-cb6027abfd6610647ffef12b987adbb6a9623b91.tar.gz ports-cb6027abfd6610647ffef12b987adbb6a9623b91.zip |
Notes
Diffstat (limited to 'databases/py-pysqlite22/Makefile')
-rw-r--r-- | databases/py-pysqlite22/Makefile | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/databases/py-pysqlite22/Makefile b/databases/py-pysqlite22/Makefile index c556b75512f4..dc1b3ca7e17a 100644 --- a/databases/py-pysqlite22/Makefile +++ b/databases/py-pysqlite22/Makefile @@ -5,40 +5,36 @@ # $FreeBSD$ # -PORTNAME= PySQLite -PORTVERSION= 1.0 -PORTREVISION= 1 -CATEGORIES= databases python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTNAME= PySQLite +PORTVERSION= 1.1.6 +CATEGORIES= databases python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pysqlite -PKGNAMEPREFIX= py- -DISTNAME= pysqlite-${PORTVERSION} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pysqlite-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= A DB-API v2 Python library for the SQLite embedded SQL engine +MAINTAINER= marcus@corp.grupos.com.br +COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine -RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base -LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2 +LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 -WRKSRC= ${WRKDIR}/pysqlite -EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} -USE_PYTHON= yes -USE_PYDISTUTILS= yes - -PORTDOCS= README +CONFLICTS= py*-PySQLite-1.0* -DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py - -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +WRKSRC= ${WRKDIR}/pysqlite +USE_PYTHON= yes +USE_PYDISTUTILS= yes .if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/rest/manual.txt ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} .endif .include <bsd.port.mk> |