diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-10 16:11:34 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-10 16:11:34 +0000 |
commit | 727fc149fa32b032f6400ca6ccca86c91a2e5062 (patch) | |
tree | f3ad2a4fcdd5d9630402be1a4397675030e689fc /databases/py-PySQLite10/Makefile | |
parent | 205f24310683cb8d8a21ecc5ae3c4805dd832d0e (diff) | |
download | ports-727fc149fa32b032f6400ca6ccca86c91a2e5062.tar.gz ports-727fc149fa32b032f6400ca6ccca86c91a2e5062.zip |
Notes
Diffstat (limited to 'databases/py-PySQLite10/Makefile')
-rw-r--r-- | databases/py-PySQLite10/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/py-PySQLite10/Makefile b/databases/py-PySQLite10/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-PySQLite10/Makefile +++ b/databases/py-PySQLite10/Makefile @@ -6,7 +6,7 @@ # PORTNAME= PySQLite -PORTVERSION= 0.4.3 +PORTVERSION= 0.5.0 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pysqlite @@ -19,14 +19,13 @@ COMMENT= A DB-API v2 Python library for the SQLite embedded SQL engine RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite -WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION} +WRKSRC= ${WRKDIR}/pysqlite +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} USE_PYTHON= yes USE_PYDISTUTILS= yes DOCS= README -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} - DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} @@ -37,6 +36,8 @@ post-install: .for file in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor + @${MKDIR} ${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} .endif .include <bsd.port.mk> |