summaryrefslogtreecommitdiff
path: root/biology/py-biopython/Makefile
blob: ae4b6cdd36486f9f22322ae175a05567d4587e3e (plain)
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
PORTNAME=	biopython
DISTVERSION=	1.81
PORTREVISION=	1
CATEGORIES=	biology python
MASTER_SITES=	http://www.biopython.org/DIST/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	mauricio@arareko.net
COMMENT=	Collection of Python modules for bioinformatics
WWW=		https://biopython.org/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.rst

BUILD_DEPENDS=	${PYNUMPY}
RUN_DEPENDS=	${PYNUMPY}

USES=		python
USE_PYTHON=	distutils autoplist

OPTIONS_DEFINE=		REPORTLAB
OPTIONS_DEFAULT=	REPORTLAB

REPORTLAB_DESC=		PDF support in Bio.Graphics module
REPORTLAB_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR}

post-install:
	@${STRIP_CMD} \
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Bio/*.so \
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Bio/*/*.so \
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Bio/*/*/*.so \

.include <bsd.port.mk>