diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2001-10-19 11:20:37 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2001-10-19 11:20:37 +0000 |
commit | 1c6cc68498abd3c0ebb2efbb32f7d8a71cb8f15d (patch) | |
tree | c9f4902c84d3519bc786b73a133e2ac1bddca3f4 /math/py-mpz/Makefile | |
parent | Don't build mpz extension, it's moved to a separate port. (diff) |
New port py-mpz. This builds the mpz module (an interface to GMP) from
the Python distribution.
Notes
Notes:
svn path=/head/; revision=48937
Diffstat (limited to 'math/py-mpz/Makefile')
-rw-r--r-- | math/py-mpz/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/math/py-mpz/Makefile b/math/py-mpz/Makefile new file mode 100644 index 000000000000..a92a4e0f1432 --- /dev/null +++ b/math/py-mpz/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: py-mpz +# Date created: 18 Oct 2001 +# Whom: Thomas Gellekum <tg@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mpz +PORTVERSION= ${PYTHON_PORTVERSION} +CATEGORIES= math 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} + +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> |