aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-sqlobject/Makefile
blob: 7e4dc6b272526d5aed742b5c41238ec60ff54e11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Ports collection makefile for:    py-sqlobject
# Date created:             24 June 2004
# Whom:                 "Choe, Cheng-Dae" whitekid
#
# $FreeBSD$
#

PORTNAME=   sqlobject
PORTVERSION=    0.6
PORTREVISION=   1
CATEGORIES= databases python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   SQLObject-${PORTVERSION}

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>