2003-02-06 01:20:32 +01:00
|
|
|
# New ports collection makefile for: py-PySQLite
|
|
|
|
# Date created: 02 Oct 2002
|
|
|
|
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-01-27 22:16:04 +01:00
|
|
|
PORTNAME= PySQLite
|
2006-10-31 16:01:13 +01:00
|
|
|
PORTVERSION= 1.1.8
|
2006-01-27 22:16:04 +01:00
|
|
|
CATEGORIES= databases python
|
2006-02-10 15:33:04 +01:00
|
|
|
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${PORTVERSION:C/\.[0-9]$//}/${PORTVERSION}/
|
2006-01-27 22:16:04 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pysqlite-${PORTVERSION}
|
2003-02-06 01:20:32 +01:00
|
|
|
|
2006-01-27 22:16:04 +01:00
|
|
|
MAINTAINER= mnag@FreeBSD.org
|
|
|
|
COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
|
2003-02-06 01:20:32 +01:00
|
|
|
|
2006-01-27 22:16:04 +01:00
|
|
|
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
|
2003-02-06 01:20:32 +01:00
|
|
|
|
2006-07-10 05:07:30 +02:00
|
|
|
CONFLICTS= py*-PySQLite-1.0.*
|
2005-04-10 11:48:07 +02:00
|
|
|
|
2006-01-27 22:16:04 +01:00
|
|
|
NO_LATEST_LINK= yes
|
2003-02-06 01:20:32 +01:00
|
|
|
|
2006-01-27 22:16:04 +01:00
|
|
|
USE_PYTHON= yes
|
2005-03-14 00:25:19 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pysqlite
|
2003-02-06 01:20:32 +01:00
|
|
|
|
2006-01-27 22:16:04 +01:00
|
|
|
PORTDOCS= *
|
2005-10-18 15:35:47 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|"freebsd5",|"freebsd5", "freebsd6", "freebsd7",|' \
|
|
|
|
${WRKSRC}/setup.py
|
2005-03-14 00:25:19 +01:00
|
|
|
|
2003-02-06 01:20:32 +01:00
|
|
|
post-install:
|
2005-03-14 00:25:19 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-02-06 01:20:32 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-03-14 00:25:19 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2003-02-06 01:20:32 +01:00
|
|
|
.endif
|
2005-08-28 20:39:54 +02:00
|
|
|
# fix lib shared permission
|
|
|
|
@${CHMOD} ${BINMODE} ${PYTHON_SITELIBDIR}/_sqlite.so
|
2003-02-06 01:20:32 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|