48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2010/08/30 16:48:31 fgsch Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
COMMENT= Python tools for computational molecular biology
|
|
|
|
MODPY_EGG_VERSION= 1.50
|
|
DISTNAME= biopython-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
CATEGORIES= biology
|
|
|
|
HOMEPAGE= http://www.biopython.org/
|
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
|
|
|
# BSD-like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}DIST/
|
|
|
|
MODULES= lang/python
|
|
|
|
WANTLIB+= stdc++
|
|
|
|
BUILD_DEPENDS= ::devel/swig \
|
|
::math/py-numpy
|
|
RUN_DEPENDS= ::math/py-numpy \
|
|
::print/py-reportlab/reportlab
|
|
REGRESS_DEPENDS=${RUN_DEPENDS}
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-biopython/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-biopython/
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${PREFIX}/share/doc/py-biopython/
|
|
cd ${WRKSRC}/Doc/examples; tar cf - * | \
|
|
tar xf - -C ${PREFIX}/share/examples/py-biopython
|
|
|
|
do-regress: fake
|
|
@cd ${WRKSRC}/Tests && \
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
${MODPY_BIN} ./run_tests.py
|
|
|
|
.include <bsd.port.mk>
|