35 lines
871 B
Makefile
35 lines
871 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= http://www.python.org/ftp/python/${PORTVERSION}/ \
|
|
http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/${PORTVERSION}/
|
|
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>
|