# $OpenBSD: Makefile,v 1.20 2011/11/01 16:05:26 jasper Exp $ SHARED_ONLY= Yes COMMENT= Python tools for computational molecular biology MODPY_EGG_VERSION= 1.50 DISTNAME= biopython-${MODPY_EGG_VERSION} REVISION = 3 CATEGORIES= biology HOMEPAGE= http://www.biopython.org/ MAINTAINER= Will Maier # 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+= ${MODPY_WANTLIB} 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