diff options
author | wjv <wjv@FreeBSD.org> | 2001-09-18 22:58:15 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2001-09-18 22:58:15 +0800 |
commit | 5ecf47862eb21b2b788bdd24a5542d91884bb342 (patch) | |
tree | 8662e0af948fba907655e9fa5dfa0150c3b71fd9 /databases/zodb/Makefile | |
parent | 56d055a01d72658304c8006bf00cd4d0340737b8 (diff) | |
download | freebsd-ports-gnome-5ecf47862eb21b2b788bdd24a5542d91884bb342.tar.gz freebsd-ports-gnome-5ecf47862eb21b2b788bdd24a5542d91884bb342.tar.zst freebsd-ports-gnome-5ecf47862eb21b2b788bdd24a5542d91884bb342.zip |
Add zodb 2001.06.16, the Zope Object Database - an object database
written in Python.
Diffstat (limited to 'databases/zodb/Makefile')
-rw-r--r-- | databases/zodb/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/databases/zodb/Makefile b/databases/zodb/Makefile new file mode 100644 index 000000000000..12c4ba83a72f --- /dev/null +++ b/databases/zodb/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: zodb +# Date created: 18 September 2001 +# Whom: Johann Visagie <wjv@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= zodb +PORTVERSION= 2001.06.16 +CATEGORIES= databases python +MASTER_SITES= http://amk.ca/files/zodb/ +DISTNAME= zodb + +MAINTAINER= wjv@FreeBSD.org + +BUILD_DEPENDS= ${PYDISTUTILS} +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/bsddb3/__init__.py:${PORTSDIR}/databases/py-bsddb3 + +USE_PYTHON= yes +SRCDIRS= zodb-basic ExtensionClass ZODB BTrees + +do-build: +.for dir in ${SRCDIRS} + @ cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ + setup.py build +.endfor + +do-install: +.for dir in ${SRCDIRS} + @ cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ + setup.py install -c -O1 --prefix=${PREFIX} +.endfor + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for docfile in ACKS CHANGES README TODO + @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |