blob: 5d0966e7260ff8a90533735c1feee15b4fd3f623 (
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
|
# New ports collection makefile for: py-bsddb3
# Date created: 22 March 2001
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= bsddb3
PORTVERSION= 3.0
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pybsddb
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@python.or.kr
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
USE_PYTHON= yes
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
do-build:
${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} --inplace
do-install:
${SETUP_CMD} install
.include <bsd.port.mk>
|