freebsd-ports/databases/py-gdbm/Makefile
2001-03-01 12:24:24 +00:00

35 lines
817 B
Makefile

# New ports collection makefile for: py-gdbm
# Date created: 03 October 2000
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gdbm
PORTVERSION= ${PYTHON_PORTVERSION}
CATEGORIES= databases python
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${PYTHON_DISTFILE}
MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
DIST_SUBDIR= python
USE_PYTHON= yes
WRKSRC= ${PYTHON_WRKSRC}/Modules
post-extract:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}
do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build)
do-install:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install)
.include <bsd.port.mk>