diff options
author | mnag <mnag@FreeBSD.org> | 2005-10-18 21:45:50 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-10-18 21:45:50 +0800 |
commit | ab23568279eddf823411bcc69e5b2f51a939ad1f (patch) | |
tree | 60395aa76faf3f0e93373e019c4bc76ce2154c93 /databases | |
parent | 89dfdf966cb0a2592f9f71f55dd7f9521c7fa1e6 (diff) | |
download | freebsd-ports-gnome-ab23568279eddf823411bcc69e5b2f51a939ad1f.tar.gz freebsd-ports-gnome-ab23568279eddf823411bcc69e5b2f51a939ad1f.tar.zst freebsd-ports-gnome-ab23568279eddf823411bcc69e5b2f51a939ad1f.zip |
Respect LOCALBASE
Notified by: krismail
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-PySQLite10/Makefile | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/databases/py-PySQLite10/Makefile b/databases/py-PySQLite10/Makefile index aa89a9c37f75..d42ed4968274 100644 --- a/databases/py-PySQLite10/Makefile +++ b/databases/py-PySQLite10/Makefile @@ -5,28 +5,32 @@ # $FreeBSD$ # -PORTNAME= PySQLite -PORTVERSION= 1.0.1 -CATEGORIES= databases python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTNAME= PySQLite +PORTVERSION= 1.0.1 +CATEGORIES= databases python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pysqlite -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= pysqlite-${PORTVERSION} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pysqlite-${PORTVERSION} -MAINTAINER= mnag@FreeBSD.org -COMMENT= A DB-API v2 Python library for the SQLite 2 embedded SQL engine +MAINTAINER= mnag@FreeBSD.org +COMMENT= A DB-API v2 Python library for the SQLite 2 embedded SQL engine -LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2 +LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2 -CONFLICTS= py*-PySQLite-1.1* +CONFLICTS= py*-PySQLite-1.1* -WRKSRC= ${WRKDIR}/pysqlite -USE_PYTHON= yes -USE_PYDISTUTILS= yes +WRKSRC= ${WRKDIR}/pysqlite +USE_PYTHON= yes +USE_PYDISTUTILS=yes +USE_REINPLACE= yes +MAKE_ENV= LOCALBASE="${LOCALBASE}" -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif +PORTDOCS= * + +post-patch: + @${REINPLACE_CMD} -e 's|"freebsd5",|"freebsd5", "freebsd6", "freebsd7",|' \ + ${WRKSRC}/setup.py post-install: .if !defined(NOPORTDOCS) |