aboutsummaryrefslogtreecommitdiffstats
path: root/databases/zodb/Makefile
blob: 3fb39604c2480d6812f0faca0c2e1500c18b6544 (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
# New ports collection makefile for:    zodb
# Date created:     18 September 2001
# Whom:             Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   zodb
PORTVERSION=    1.0.c1
PORTEPOCH=  1
CATEGORIES= databases python
MASTER_SITES=   http://www.zope.org/Products/StandaloneZODB/
DISTNAME=   StandaloneZODB-${PORTVERSION:C/\.([^.]*)$/\1/}
EXTRACT_SUFX=   .tgz

MAINTAINER= wjv@FreeBSD.org

BUILD_DEPENDS=  ${PYDISTUTILS}
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/bsddb3/__init__.py:${PORTSDIR}/databases/py-bsddb3

USE_PYTHON= yes
PYTHON_SETUP=   ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py

do-build:
    @ cd ${WRKSRC} && ${PYTHON_SETUP} build

pre-install:
    @ ${SH} ${PKGREQ} INSTALL

do-install:
    @ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX}

.include <bsd.port.mk>