2016-06-23 11:48:53 +02:00
|
|
|
# Created by: Johannes Meixner <johannes@perceivon.net>
|
2013-12-18 12:12:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fastcluster
|
2018-02-25 06:33:33 +01:00
|
|
|
PORTVERSION= 1.1.24
|
2018-03-10 18:46:04 +01:00
|
|
|
PORTREVISION= 1
|
2013-12-18 12:12:40 +01:00
|
|
|
CATEGORIES= math python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2018-02-25 06:33:33 +01:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
COMMENT= Fast hierarchical clustering routines for R and Python
|
2013-12-18 12:12:40 +01:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
2018-02-25 06:33:33 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
2013-12-18 12:12:40 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
2018-02-25 06:33:33 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${FLAVOR}
|
2013-12-18 12:12:40 +01:00
|
|
|
|
2014-10-21 18:54:54 +02:00
|
|
|
USES= python
|
2018-02-25 06:33:33 +01:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
|
|
|
|
PORTDOCS= CITATION.txt INSTALL.txt NEWS.txt README.txt
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-12-18 12:12:40 +01:00
|
|
|
|
|
|
|
post-install:
|
2018-02-25 06:33:33 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_fastcluster.so
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2017-02-01 12:31:45 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2018-02-25 06:33:33 +01:00
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
2013-12-18 12:12:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|