blob: 212259b3a569b3285b306acb31d7ff270be06209 (
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
31
32
33
|
# New ports collection makefile for: py-mpmath
# Date created: 2008-10-16
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mpmath
PORTVERSION= 0.10
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wenheping@gmail.com
COMMENT= Python Library for Arbitrary-precision Floating-point Arithmetic
BUILD_DEPENDS= ${LOCALBASE}/bin/sphinx-build:${PORTSDIR}/textproc/py-sphinx \
${PYTHON_SITELIBDIR}/gmpy.so:${PORTSDIR}/math/py-gmpy
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-install:
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} build.py
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} build.py
@cd ${WRKSRC}/doc/build && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
@cd ${WRKSRC}/doc/build && ${FIND} . -type f -exec \
${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [DONE]"
.endif
.include <bsd.port.mk>
|