2003-02-06 00:20:32 +00:00
|
|
|
# New ports collection makefile for: py-PySQLite
|
|
|
|
# Date created: 02 Oct 2002
|
|
|
|
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-03-13 23:25:19 +00:00
|
|
|
PORTNAME= PySQLite
|
|
|
|
PORTVERSION= 1.1.6
|
|
|
|
CATEGORIES= databases python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-02-06 00:20:32 +00:00
|
|
|
MASTER_SITE_SUBDIR= pysqlite
|
2005-03-13 23:25:19 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pysqlite-${PORTVERSION}
|
2003-02-06 00:20:32 +00:00
|
|
|
|
2005-03-13 23:25:19 +00:00
|
|
|
MAINTAINER= marcus@corp.grupos.com.br
|
|
|
|
COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
|
2003-02-06 00:20:32 +00:00
|
|
|
|
2005-03-13 23:25:19 +00:00
|
|
|
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
|
2003-02-06 00:20:32 +00:00
|
|
|
|
2005-04-10 09:48:07 +00:00
|
|
|
LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}11
|
|
|
|
|
2005-03-13 23:25:19 +00:00
|
|
|
CONFLICTS= py*-PySQLite-1.0*
|
2003-02-06 00:20:32 +00:00
|
|
|
|
2005-03-13 23:25:19 +00:00
|
|
|
WRKSRC= ${WRKDIR}/pysqlite
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2003-02-06 00:20:32 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-03-13 23:25:19 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2003-02-06 00:20:32 +00:00
|
|
|
post-install:
|
2005-03-13 23:25:19 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-02-06 00:20:32 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-03-13 23:25:19 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/rest/manual.txt ${DOCSDIR}
|
2004-05-10 16:11:34 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2005-03-13 23:25:19 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
2003-02-06 00:20:32 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|