aboutsummaryrefslogtreecommitdiff
path: root/math/py-fastcluster/Makefile
blob: a77c31a5ae2a85aba1bf7f8a91880e736a3e82f5 (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
# Created by: Johannes Meixner <johannes@perceivon.net>
# $FreeBSD$

PORTNAME=	fastcluster
PORTVERSION=	1.1.25
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Fast hierarchical clustering routines for R and Python

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING.txt

BUILD_DEPENDS=	${PYNUMPY}
RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${FLAVOR}

USES=		python
USE_PYTHON=	autoplist concurrent distutils

PORTDOCS=	CITATION.txt INSTALL.txt NEWS.txt README.txt

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_fastcluster.so

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>