mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
22893d975b
PR: ports/76952 Submitted by: maintainer Obtained from: SQLObject's CVS
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Ports collection makefile for: py-sqlobject
|
|
# Date created: 24 June 2004
|
|
# Whom: "Choe, Cheng-Dae" whitekid
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sqlobject
|
|
PORTVERSION= 0.6.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= SQLObject-${PORTVERSION}
|
|
|
|
PATCH_SITES= http://www.comdongin.com/
|
|
PATCHFILES= sqlobject-0.6.1.patch
|
|
|
|
MAINTAINER= whitekid@gmail.com
|
|
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
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|