2004-07-02 01:11:04 +02:00
|
|
|
# Ports collection makefile for: py-sqlobject
|
|
|
|
# Date created: 24 June 2004
|
|
|
|
# Whom: "Choe, Cheng-Dae" whitekid
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sqlobject
|
2005-01-29 00:50:47 +01:00
|
|
|
PORTVERSION= 0.6.1
|
2005-02-19 19:18:14 +01:00
|
|
|
PORTREVISION= 1
|
2004-07-02 01:11:04 +02:00
|
|
|
CATEGORIES= databases python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= SQLObject-${PORTVERSION}
|
|
|
|
|
2005-02-19 19:18:14 +01:00
|
|
|
PATCH_SITES= http://www.comdongin.com/
|
|
|
|
PATCHFILES= sqlobject-0.6.1.patch
|
|
|
|
|
2004-10-12 00:34:21 +02:00
|
|
|
MAINTAINER= whitekid@gmail.com
|
2004-07-02 01:11:04 +02:00
|
|
|
COMMENT= A python object for manipulation with SQL table row
|
|
|
|
|
|
|
|
# Someone will add SQLite, Firebird and DBMConnection support things.
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb \
|
|
|
|
${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2004-10-13 11:25:45 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-07-02 01:11:04 +02:00
|
|
|
.include <bsd.port.mk>
|