freebsd-ports/biology/py-biopython/Makefile
Wen Heping 112c183adc biology/py-biopython: Update to 1.79
PR:		259046
Reported by:	wen@
Approved by:	maintainer
2021-10-12 14:43:04 +08:00

33 lines
866 B
Makefile

# Created by: Johann Visagie <johann@egenetics.com>
PORTNAME= biopython
DISTVERSION= 1.79
CATEGORIES= biology python
MASTER_SITES= http://www.biopython.org/DIST/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mauricio@arareko.net
COMMENT= Collection of Python modules for bioinformatics
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
USES= python:3.6+
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>