blob: f07bd00098f09c4dd4bdd1a0579f04421a7ec322 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$
PORTNAME= pydap
PORTVERSION= 3.1.1
PORTREVISION= 2
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Pydap-${PORTVERSION}
MAINTAINER= xmj@chaot.net
COMMENT= Implementation of the Opendap/DODS protocol
LICENSE= MIT
BROKEN= does not build
BUILD_DEPENDS= paver:${PORTSDIR}/devel/py-paver \
${PYNUMPY}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>0:${PORTSDIR}/www/py-httplib2 \
${PYTHON_PKGNAMEPREFIX}Genshi>0:${PORTSDIR}/textproc/py-genshi \
${PYTHON_PKGNAMEPREFIX}Paste>0:${PORTSDIR}/www/py-paste \
${PYTHON_PKGNAMEPREFIX}PasteDeploy>0:${PORTSDIR}/www/py-pastedeploy \
${PYTHON_PKGNAMEPREFIX}PasteScript>0:${PORTSDIR}/www/py-pastescript \
${PYNUMPY}
OPTIONS_DEFINE= DOCS
USES= python
USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= * .buildinfo
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
${PYTHON_PKGNAMEPREFIX}coards>0:${PORTSDIR}/science/py-coards \
${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments
PYDISTUTILS_BUILD_TARGET+= build_sphinx
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|